From: Alan Knowles Date: Wed, 28 Sep 2011 08:31:55 +0000 (+0800) Subject: Pman.Dialog.AdminWatch.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=commitdiff_plain;h=ec0649d6bb11e6a887222c62984444730c6a4921 Pman.Dialog.AdminWatch.bjs Pman.Dialog.AdminWatch.bjs Pman.Dialog.AdminWatch.js Pman.Dialog.AdminWatch.js --- diff --git a/Pman.Dialog.AdminWatch.bjs b/Pman.Dialog.AdminWatch.bjs index 24e952d..0f6df26 100644 --- a/Pman.Dialog.AdminWatch.bjs +++ b/Pman.Dialog.AdminWatch.bjs @@ -184,15 +184,6 @@ } ] }, - { - "listeners": { - "click": "function (_self, e)\n{\n // do some checks?\n \n \n _this.dialog.el.mask(\"Saving\");\n _this.form.doAction(\"submit\");\n\n}" - }, - "*prop": "buttons[]", - "text": "Save", - "xtype": "Button", - "|xns": "Roo" - }, { "listeners": { "click": "function (_self, e)\n{\n _this.dialog.hide();\n}" diff --git a/Pman.Dialog.AdminWatch.js b/Pman.Dialog.AdminWatch.js index 3bfc4cf..822d3b6 100644 --- a/Pman.Dialog.AdminWatch.js +++ b/Pman.Dialog.AdminWatch.js @@ -346,22 +346,6 @@ Pman.Dialog.AdminWatch = { xns: Roo }, buttons : [ - { - xtype: 'Button', - xns: Roo, - listeners : { - click : function (_self, e) - { - // do some checks? - - - _this.dialog.el.mask("Saving"); - _this.form.doAction("submit"); - - } - }, - text : "Save" - }, { xtype: 'Button', xns: Roo,