Pman.Tab.BuilderDatabase.bjs
authorAlan Knowles <alan@akbkhome.com>
Wed, 2 Nov 2011 08:54:08 +0000 (16:54 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 2 Nov 2011 08:54:08 +0000 (16:54 +0800)
Pman.Tab.BuilderDatabase.bjs
Pman.Tab.BuilderDatabase.js
Pman.Tab.BuilderDatabase.js

Pman.Tab.BuilderDatabase.bjs
Pman.Tab.BuilderDatabase.js

index 17df1d0..707423e 100644 (file)
@@ -84,7 +84,7 @@
                                 {
                                     "listeners": {
                                         "beforeload": "function (node)\n{\n    if (!_this.panel.active) {\n        return false;\n    }\n}",
-                                        "contextmenu": "function (node, e)\n{\n   _this.treepanel.menu = Roo.factory(_this.treepanel.menu);\n   _this.treepanel.menu.show(node.ui.anchor,'tr');\n   \n}"
+                                        "contextmenu": "function (node, e)\n{\n   _this.treepanel.menu = Roo.factory(_this.treepanel.menu);\n   _this.treepanel.menu.show(node.ui.anchor,'tr');\n   _this.cxnode = node;\n}"
                                     },
                                     "*prop": "tree",
                                     "containerScroll": true,
index ba83701..7f71409 100644 (file)
@@ -121,7 +121,7 @@ Pman.Tab.BuilderDatabase = new Roo.util.Observable({
                                 {
                                    _this.treepanel.menu = Roo.factory(_this.treepanel.menu);
                                    _this.treepanel.menu.show(node.ui.anchor,'tr');
-                                   
+                                   _this.cxnode = node;
                                 }
                             },
                             containerScroll : true,