格式化脚本,删除空格

This commit is contained in:
Argo-Lenovo 2016-11-10 00:47:42 +08:00
parent 27adf29e82
commit 9090bbaf72
1 changed files with 2 additions and 3 deletions

View File

@ -5,7 +5,7 @@
map: {
ID: "groupID",
GroupName: "groupName",
Description: "groupDesc"
Description: "groupDesc"
}
}),
click: {
@ -30,14 +30,13 @@
}, {
id: 'btnSubmitRole',
click: function (row) {
var groupId = row.ID;
var roleIds = $('#dialogRole :checked').map(function (index, element) {
return $(element).val();
}).toArray().join(',');
Role.saveRolesByGroupId(groupId, roleIds, { modal: 'dialogRole' });
}
},{
}, {
id: 'btnSubmitUser',
click: function (row) {
var groupId = row.ID;