Pman.Tab.AdminNotify.bjs
authorEdward <edward@roojs.com>
Wed, 11 Feb 2015 05:47:05 +0000 (13:47 +0800)
committerEdward <edward@roojs.com>
Wed, 11 Feb 2015 05:47:05 +0000 (13:47 +0800)
Pman.Tab.AdminNotify.js

Pman.Tab.AdminNotify.bjs
Pman.Tab.AdminNotify.js

index cca5c3b..39265eb 100644 (file)
@@ -21,7 +21,6 @@
             "items" : [
                 {
                     "listeners" : {
-                        "|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",
                         "|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}"
                     },
                     "autoExpandColumn" : "person_id_name",
                                 },
                                 {
                                     "listeners" : {
-                                        "|click" : "function()\n        {\n        Pman.genericDelete(_this, 'core_notify'); \n        }\n        "
+                                        "|click" : "function()\n{\n    Pman.genericDelete(_this, 'core_notify'); \n}\n        "
                                     },
                                     "text" : "Delete",
                                     "xtype" : "Button",
index a70f067..55e4277 100644 (file)
@@ -306,9 +306,9 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                             xns : Roo.Toolbar,
                             listeners : {
                                click : function()
-                                          {
-                                          Pman.genericDelete(_this, 'core_notify'); 
-                                          }
+                                  {
+                                      Pman.genericDelete(_this, 'core_notify'); 
+                                  }
                             }
                         },
                        {
@@ -439,13 +439,6 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                            }
                 ],
                 listeners : {
-                       rowdblclick : function (_self, rowIndex, e)
-                          {
-                              if (!_this.dialog) return;
-                              _this.dialog.show( this.getDataSource().getAt(rowIndex), function() {
-                                  _this.grid.footer.onClick('first');
-                              }); 
-                          },
                        render : function() 
                           {
                               _this.grid = this;