"name" : "Pman.Dialog.BAdminAddToGroup",
"parent" : "",
"title" : "",
- "path" : "/home/edward/gitlive/Pman.BAdmin/Pman.Dialog.BAdminAddToGroup.bjs",
+ "path" : "/home/benny/gitlive/web.coba/Pman.BAdmin/Pman.Dialog.BAdminAddToGroup.bjs",
"permname" : "",
"modOrder" : "001",
"strings" : {
+ "34ec78fcc91ffb1e54cd85e4a0924332" : "add",
"05b763f7d24f32575493b3c23f299b0e" : "Add To Group",
"ea4788705e6873b424c65e91c2846b19" : "Cancel",
"df1eb600b1e8e619756781831c41e346" : "Please select a group",
"items" : [
{
"listeners" : {
- "actionfailed" : "function (_self, action)\n{\n Roo.log(action);\n \n Roo.bootstrap.MessageBox.alert(action.result.errorMsg);\n}",
+ "actionfailed" : "function (_self, action)\n{\n Roo.log(action);\n \n var err = 'Please fill in all the request fields';\n \n if (typeof(action) != 'undefined' && (action.failureType == 'server' || action.failureType == 'load')) { \n err = action.result.errorMsg;\n }\n \n Roo.bootstrap.MessageBox.alert('Error', err);\n\n}",
"actioncomplete" : "function (_self, action)\n{\n if(action.type == 'setdata'){\n \n _this.form.clearInvalid();\n \n return;\n }\n \n if (action.type == 'load') {\n _this.data = action.result.data;\n return;\n }\n \n \n if (action.type == 'submit') {\n \n _this.dialog.hide();\n \n if (_this.callback) {\n _this.callback.call(this, action.result.data);\n }\n \n return; \n }\n}",
"render" : "function (_self)\n{\n _this.form = _self;\n}"
},
- "$ url" : "baseURL + '/Roo/Core_group_member' ",
+ "$ url" : "baseURL + '/Roo/Core_group'",
"xtype" : "Form",
"String labelAlign" : "top",
"$ xns" : "Roo.bootstrap",
"xtype" : "Store",
"boolean remoteSort" : true,
"$ xns" : "Roo.data",
- "$ sortInfo" : "{field:\"id\",direction:\"ASC\"}",
+ "$ sortInfo" : "{ field: 'name', direction: 'ASC'} ",
"* prop" : "store",
"items" : [
{
},
{
"xtype" : "JsonReader",
- "$ xns" : "Roo.data",
"$ fields" : "[\n {\n 'name': 'id',\n 'type': 'int'\n },\n {\n 'name': 'name',\n 'type': 'string'\n }\n]",
+ "$ xns" : "Roo.data",
"* prop" : "reader"
}
]
]
},
{
- "String name" : "_persons",
+ "String name" : "user_ids",
"xtype" : "Input",
"String inputType" : "hidden",
"$ xns" : "Roo.bootstrap"
},
+ {
+ "String name" : "_action",
+ "xtype" : "Input",
+ "String inputType" : "hidden",
+ "$ xns" : "Roo.bootstrap",
+ "string value" : "add"
+ },
{
"String name" : "id",
"xtype" : "Input",