Pman.Dialog.CoreColumnConfig.bjs
authorAlan Knowles <alan@roojs.com>
Mon, 26 Apr 2021 07:10:47 +0000 (15:10 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 26 Apr 2021 07:10:47 +0000 (15:10 +0800)
Pman.Dialog.CoreColumnConfig.js

Pman.Dialog.CoreColumnConfig.bjs
Pman.Dialog.CoreColumnConfig.js

index 5cf1a22..c3a91ae 100644 (file)
@@ -56,7 +56,7 @@
         "|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",
         "|rendered" : "function (form)\n{\n   _this.form = form;\n}"
        },
-       "$ url" : "baseURL + '/Roo/core_enum.php'",
+       "$ url" : "baseURL + '/Roo/core_setting'",
        "method" : "POST",
        "xtype" : "Form",
        "style" : "margin: 5px",
index 350ccac..1a94dec 100644 (file)
@@ -119,7 +119,7 @@ Pman.Dialog.CoreColumnConfig = {
         xtype : 'Form',
         method : 'POST',
         style : 'margin: 5px',
-        url : baseURL + '/Roo/core_enum.php',
+        url : baseURL + '/Roo/core_setting',
         listeners : {
          actioncomplete : function (_self, action)
           {