Pman.Tab.AdminEnum.bjs
authorEdward <edward@roojs.com>
Thu, 4 Jun 2015 06:06:31 +0000 (14:06 +0800)
committerEdward <edward@roojs.com>
Thu, 4 Jun 2015 06:06:31 +0000 (14:06 +0800)
Pman.Tab.AdminEnum.js

Pman.Tab.AdminEnum.bjs
Pman.Tab.AdminEnum.js

index 3b11183..22b007f 100644 (file)
             },
             {
              "listeners" : {
-              "|click" : "function()\n{\n    var s = _this.grid.getSelectionModel().getSelectedCell();\n    \n    if (!s.length)  {\n        Roo.MessageBox.alert(\"Error\", \"Select a Row\");\n        return;\n    }\n    if (!_this.dialog) return;\n    _this.dialog.show(s[0].data, function() {\n        _this.grid.footer.onClick('first');\n    }); \n    \n}\n"
+              "|click" : "function()\n{\n    var s = _this.grid.getSelectionModel().getSelectedCell();\n    \n    if (!s.length)  {\n        Roo.MessageBox.alert(\"Error\", \"Select a Row\");\n        return;\n    }\n    \n    \n    //_this.dialog.show(s[0].data, function() {\n    //    _this.grid.footer.onClick('first');\n    //}); \n    \n}\n"
              },
              "text" : "Merge Option",
              "xtype" : "Button",
index 1c2ac70..bad84a0 100644 (file)
@@ -650,10 +650,11 @@ Pman.Tab.AdminEnum = new Roo.XComponent({
                     Roo.MessageBox.alert("Error", "Select a Row");
                     return;
                 }
-                if (!_this.dialog) return;
-                _this.dialog.show(s[0].data, function() {
-                    _this.grid.footer.onClick('first');
-                }); 
+                
+                
+                //_this.dialog.show(s[0].data, function() {
+                //    _this.grid.footer.onClick('first');
+                //}); 
                 
             }
           }