Pman.Dialog.CoreNotifyRecurKeywords.bjs
authorEdward <edward@roojs.com>
Mon, 4 May 2015 05:47:39 +0000 (13:47 +0800)
committerEdward <edward@roojs.com>
Mon, 4 May 2015 05:47:39 +0000 (13:47 +0800)
Pman.Dialog.CoreNotifyRecurKeywords.js

Pman.Dialog.CoreNotifyRecurKeywords.bjs
Pman.Dialog.CoreNotifyRecurKeywords.js

index b740a3e..03ed10f 100644 (file)
         "|actioncomplete" : "function (_self, action)\n{\n  if (action.type == 'setdata') {\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_notify_recur.php'",
        "xtype" : "Form",
        "method" : "POST",
        "style" : "margin: 5px",
        "$ xns" : "Roo.form",
        "items" : [
-        {
-         "fieldLabel" : "Name",
-         "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}"
index f5552f7..520b9c9 100644 (file)
@@ -109,7 +109,7 @@ Pman.Dialog.CoreNotifyRecurKeywords = {
         '|xns' : 'Roo.form',
         method : 'POST',
         style : 'margin: 5px',
-        url : baseURL + '/Roo/core_enum.php',
+        url : baseURL + '/Roo/Core_notify_recur.php',
         xns : Roo.form,
         xtype : 'Form',
         listeners : {
@@ -139,17 +139,6 @@ Pman.Dialog.CoreNotifyRecurKeywords = {
           }
         },
         items : [
-         {
-          '|xns' : 'Roo.form',
-          actionMode : 'fieldEl',
-          allowBlank : false,
-          fieldLabel : 'Name',
-          hidden : true,
-          name : 'name',
-          width : 200,
-          xns : Roo.form,
-          xtype : 'TextField'
-         },
          {
           '|xns' : 'Roo.form',
           allowBlank : false,