修改《分组名可以为空格》bug

Signed-off-by: alan <547533434@qq.com>
This commit is contained in:
alan 2014-12-05 17:13:05 +08:00
parent 63a9fcd483
commit 62497913d7
1 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@
} }
} }
function validate_groupname_null(value1) { function validate_groupname_null(value1) {
value1 = value1.trim();
if(value1.length == 0) { if(value1.length == 0 ) {
alert('<%= l(:label_limit_groupname_null) %>'); alert('<%= l(:label_limit_groupname_null) %>');
} }
} }