Pman.Dialog.CoreEnum.bjs
authorEdward <edward@roojs.com>
Mon, 3 Mar 2014 09:16:49 +0000 (17:16 +0800)
committerEdward <edward@roojs.com>
Mon, 3 Mar 2014 09:16:49 +0000 (17:16 +0800)
Pman.Dialog.CoreEnum.js

Pman.Dialog.CoreEnum.bjs
Pman.Dialog.CoreEnum.js

index 337d985..338d2e2 100644 (file)
@@ -98,7 +98,7 @@
                 },
                 {
                     "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 \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}"
                     },
                     "*prop": "buttons[]",
                     "text": "OK",
index cf3b5ec..910fb0b 100644 (file)
@@ -169,7 +169,6 @@ Pman.Dialog.CoreEnum = {
                                 return;
                             }
                             _this.form.findField('name').setValue(name);
-                        
                          
                             _this.form.doAction('submit');