Pman.Tab.AdminWatches.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:25:44 +0000 (15:25 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 28 Sep 2011 07:25:44 +0000 (15:25 +0800)
Pman.Tab.AdminWatches.bjs
Pman.Tab.AdminWatches.js
Pman.Tab.AdminWatches.js

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

index c4aa049..505314b 100644 (file)
@@ -6,17 +6,17 @@
     "path": "/home/alan/gitlive/Pman.Admin/Pman.Tab.AdminWatches.bjs",
     "items": [
         {
-            "|xns": "Roo",
-            "xtype": "GridPanel",
-            "title": "core_watch",
-            "fitToframe": true,
-            "fitContainer": true,
-            "tableName": "core_watch",
-            "background": true,
-            "region": "center",
             "listeners": {
                 "|activate": "function() {\n    _this.panel = this;\n    if (_this.grid) {\n        _this.grid.footer.onClick('first');\n    }\n}"
             },
+            "background": true,
+            "fitContainer": true,
+            "fitToframe": true,
+            "region": "center",
+            "tableName": "core_watch",
+            "title": "Watches",
+            "xtype": "GridPanel",
+            "|xns": "Roo",
             "items": [
                 {
                     "listeners": {
index 54876b1..2ec40f0 100644 (file)
@@ -33,12 +33,6 @@ Pman.Tab.AdminWatches = new Roo.util.Observable({
         this.panel = parentLayout.addxtype({
             xtype: 'GridPanel',
             xns: Roo,
-            title : "core_watch",
-            fitToframe : true,
-            fitContainer : true,
-            tableName : 'core_watch',
-            background : true,
-            region : 'center',
             listeners : {
                 activate : function() {
                     _this.panel = this;
@@ -47,6 +41,12 @@ Pman.Tab.AdminWatches = new Roo.util.Observable({
                     }
                 }
             },
+            background : true,
+            fitContainer : true,
+            fitToframe : true,
+            region : 'center',
+            tableName : 'core_watch',
+            title : "Watches",
             grid : {
                 xtype: 'Grid',
                 xns: Roo.grid,