Pman.Tab.AdminWatches.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 08:38:53 +0000 (16:38 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 08:38:53 +0000 (16:38 +0800)
Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js
Pman.Tab.AdminWatches.js

Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js

index 79c6ac1..e8f0992 100644 (file)
@@ -20,7 +20,7 @@
             "items": [
                 {
                     "listeners": {
-                        "|render": "function() \n{\n    _this.grid = this; \n    //_this.dialog = Pman.Dialog.FILL_IN\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
+                        "|render": "function() \n{\n    _this.grid = this; \n    _this.dialog = Pman.Dialog.AdminWatch;\n    if (_this.panel.active) {\n       this.footer.onClick('first');\n    }\n}",
                         "|rowdblclick": "function (_self, rowIndex, e)\n{\n    if (!_this.dialog) return;\n    _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {\n        _this.grid.footer.onClick('first');\n    }); \n}\n"
                     },
                     "*prop": "grid",
index 26a094a..0345648 100644 (file)
@@ -54,7 +54,7 @@ Pman.Tab.AdminWatches = new Roo.util.Observable({
                     render : function() 
                     {
                         _this.grid = this; 
-                        //_this.dialog = Pman.Dialog.FILL_IN
+                        _this.dialog = Pman.Dialog.AdminWatch;
                         if (_this.panel.active) {
                            this.footer.onClick('first');
                         }