Pman.Dialog.CoreNotifyRecurKeywords.bjs
authorEdward <edward@roojs.com>
Mon, 4 May 2015 07:36:20 +0000 (15:36 +0800)
committerEdward <edward@roojs.com>
Mon, 4 May 2015 07:36:20 +0000 (15:36 +0800)
Pman.Dialog.CoreNotifyRecurKeywords.js

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

index b317a56..28070df 100644 (file)
     },
     {
      "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    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    \n}"
      },
      "text" : "OK",
      "xtype" : "Button",
index 78df611..5747e71 100644 (file)
@@ -76,7 +76,7 @@ Pman.Dialog.CoreNotifyRecurKeywords = {
        xtype : 'Button',
        listeners : {
         click : function() {
-         
+             /*
              var name =     _this.form.findField('name').getValue();
              name = name.toUpperCase().replace(/[^A-Z]+/g, '');
              if (!name.length) {
@@ -86,6 +86,7 @@ Pman.Dialog.CoreNotifyRecurKeywords = {
              _this.form.findField('name').setValue(name);
           
              _this.form.doAction('submit');
+             */
              
          }
        }