Pman.Tab.BuilderTop.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 26 Oct 2011 04:04:18 +0000 (12:04 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 26 Oct 2011 04:04:18 +0000 (12:04 +0800)
Pman.Tab.BuilderTop.bjs
Pman.Tab.BuilderTop.js
Pman.Tab.BuilderTop.js

Pman.Tab.BuilderTop.bjs
Pman.Tab.BuilderTop.js

index a991804..3c6d2fb 100644 (file)
                                         },
                                         {
                                             "listeners": {
-                                                "click": "function (_self, e)\n{\n   _this.saveBtn.save(\n     function() {\n         Pman.Dialog.BuilderViewCode.show({ id : _this.filesel.getValue() } ); \n            \n\n  } );\n}"
+                                                "click": "function (_self, e)\n{\n       Pman.Builder.Tree.save(\n     function() {\n         Pman.Dialog.BuilderViewCode.show({ id : _this.filesel.getValue() } ); \n            \n\n  } );\n}"
                                             },
                                             "text": "Show JSON",
                                             "xtype": "Item",
index 0556b58..5504e9c 100644 (file)
@@ -362,7 +362,7 @@ Pman.Tab.BuilderTop = new Roo.util.Observable({
                                     listeners : {
                                         click : function (_self, e)
                                         {
-                                           _this.saveBtn.save(
+                                               Pman.Builder.Tree.save(
                                              function() {
                                                  Pman.Dialog.BuilderViewCode.show({ id : _this.filesel.getValue() } );