"modOrder" : "001",
"strings" : {
"cfcd208495d565ef66e7dff9f98764da" : "0",
- "b48968e1c912da07df5e8d6d246291ec" : "Display Name",
- "c4ca4238a0b923820dcc509a6f75849b" : "1",
"ea4788705e6873b424c65e91c2846b19" : "Cancel",
- "135d0838bf9429a58dc388369036be2c" : "Add / Edit Column Configuration",
- "49ee3087348e8d44e1feda1917443987" : "Name",
- "4d3d769b812b6faa6b76e1a8abaece2d" : "Active",
- "e0aa021e21dddbd6d8cecec71e9cf564" : "OK"
+ "c40cab5f875bb6c270d800eff77a4af0" : "Save Column Configuration",
+ "b5a7adde1af5c87d7fd797b6245c2a39" : "Description",
+ "c9cc8cce247e49bae79f15173ce97354" : "Save"
},
"named_strings" : {
- "display_name_fieldLabel" : "b48968e1c912da07df5e8d6d246291ec",
- "seqid_value" : "cfcd208495d565ef66e7dff9f98764da",
- "name_fieldLabel" : "49ee3087348e8d44e1feda1917443987",
- "active_fieldLabel" : "4d3d769b812b6faa6b76e1a8abaece2d",
- "active_value" : "c4ca4238a0b923820dcc509a6f75849b"
+ "description_fieldLabel" : "b5a7adde1af5c87d7fd797b6245c2a39",
+ "name_value" : "cfcd208495d565ef66e7dff9f98764da"
},
"items" : [
{
"modal" : true,
"collapsible" : false,
"background" : true,
- "title" : "Add / Edit Column Configuration",
+ "title" : "Save Column Configuration",
"xtype" : "LayoutDialog",
"width" : 400,
"$ xns" : "Roo",
"closable" : false,
"resizable" : false,
- "height" : 150,
+ "height" : 110,
"items" : [
{
"xtype" : "LayoutRegion",
"items" : [
{
"listeners" : {
- "|actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n\n if((typeof(_this.data.etype) == 'undefined') || !_this.data.etype.length){\n Roo.MessageBox.alert('Error', 'Missing etype');\n _this.dialog.hide();\n return;\n }\n \n if(typeof(_this.data.title) != 'undefined' && _this.data.title.length){\n _this.dialog.setTitle(_this.data.title);\n }\n \n if(_this.data.id){\n _this.dialog.el.mask(\"Loading\");\n this.load({ method: 'GET', params: { '_id' : _this.data.id }}); \n }\n \n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type == 'submit' ) {\n _this.dialog.el.unmask();\n _this.dialog.hide();\n\n if (_this.callback) {\n _this.callback.call(_this, action.result.data);\n }\n _this.form.reset();\n }\n}\n",
+ "|actioncomplete" : "function (_self, action)\n{\n if (action.type == 'setdata') {\n\n \n \n if(typeof(_this.data.title) != 'undefined' && _this.data.title.length){\n _this.dialog.setTitle(_this.data.title);\n }\n \n if(_this.data.id){\n _this.dialog.el.mask(\"Loading\");\n this.load({ method: 'GET', params: { '_id' : _this.data.id }}); \n }\n \n return;\n }\n if (action.type == 'load') {\n _this.dialog.el.unmask();\n return;\n }\n if (action.type == 'submit' ) {\n _this.dialog.el.unmask();\n _this.dialog.hide();\n\n if (_this.callback) {\n _this.callback.call(_this, action.result.data);\n }\n _this.form.reset();\n }\n}\n",
"|rendered" : "function (form)\n{\n _this.form = form;\n}"
},
"$ url" : "baseURL + '/Roo/core_setting'",
"method" : "POST",
"xtype" : "Form",
- "style" : "margin: 5px",
+ "style" : "padding:5px",
"$ xns" : "Roo.form",
"items" : [
{
- "fieldLabel" : "Name",
- "bool hidden" : true,
- "xtype" : "TextField",
- "allowBlank" : false,
- "actionMode" : "fieldEl",
- "width" : 200,
- "$ xns" : "Roo.form",
- "name" : "name"
- },
- {
- "listeners" : {
- "keyup" : "function (_self, e)\n{\n _this.form.findField('name').setValue(this.getValue().replace(/[^a-z0-9]/ig, '').toUpperCase());\n \n}"
- },
- "fieldLabel" : "Display Name",
+ "fieldLabel" : "Description",
"xtype" : "TextField",
"allowBlank" : false,
"width" : 250,
"$ xns" : "Roo.form",
- "name" : "display_name"
+ "name" : "description"
},
{
- "String actionMode" : "fieldEl",
- "Boolean checked" : true,
- "fieldLabel" : "Active",
- "inputValue" : 1,
- "hidden" : true,
- "value" : 1,
- "xtype" : "Checkbox",
- "valueOff" : 0,
+ "xtype" : "Hidden",
"$ xns" : "Roo.form",
- "name" : "active"
+ "name" : "module"
},
{
"xtype" : "Hidden",
"$ xns" : "Roo.form",
- "name" : "etype"
+ "name" : "val"
},
{
"xtype" : "Hidden",
"value" : 0,
"$ xns" : "Roo.form",
- "name" : "seqid"
+ "name" : "name"
},
{
"xtype" : "Hidden",
},
{
"listeners" : {
- "|click" : "function() {\n\n var name = _this.form.findField('name').getValue();\n name = name.toUpperCase().replace(/[^A-Z]+/g, '');\n if (!name.length) {\n Roo.MessageBox.alert(\"Error\",\"Please fill in a valid name\");\n return;\n }\n _this.form.findField('name').setValue(name);\n \n _this.form.doAction('submit');\n \n}"
+ "|click" : "function() {\n\n \n _this.form.doAction('submit');\n \n}"
},
- "text" : "OK",
+ "text" : "Save",
"xtype" : "Button",
"$ xns" : "Roo",
"* prop" : "buttons[]"