Pman.Tab.BuilderDatabase.bjs
authorEdward <edward@roojs.com>
Fri, 6 Jun 2014 08:40:57 +0000 (16:40 +0800)
committerEdward <edward@roojs.com>
Fri, 6 Jun 2014 08:40:57 +0000 (16:40 +0800)
Pman.Tab.BuilderDatabase.js

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

index af8342a..a8c25c2 100644 (file)
@@ -81,7 +81,7 @@
                                                         },
                                                         {
                                                             "listeners": {
-                                                                "click": "function (_self, e)\n{\n/*\n    var node = _this.treepanel.tree.getSelectionModel().getSelectedNode();   \n    \n    if(!node){\n        Roo.MessageBox.alert('Error', 'Please select a table');\n        return;\n    } \n    \n    Roo.log(node.attributes.name);\n    */\n    new Pman.Download({\n        url : baseURL + '/Roo/Builder_tables.php',\n        params : {\n            _dump : 1\n        },\n        method : 'GET',\n        success : function() {\n        \n        }\n    });\n}"
+                                                                "click": "function (_self, e)\n{\n/*\n    var node = _this.treepanel.tree.getSelectionModel().getSelectedNode();   \n    \n    if(!node){\n        Roo.MessageBox.alert('Error', 'Please select a table');\n        return;\n    } \n    \n    Roo.log(node.attributes.name);\n    */\n    new Pman.Download({\n        url : baseURL + '/Roo/Builder_tables.php',\n        params : {\n            _dumpDatabase : 1\n        },\n        method : 'GET',\n        success : function() {\n        \n        }\n    });\n}"
                                                             },
                                                             "text": "Export Data",
                                                             "xtype": "Item",
index 9d5d3b4..26beb05 100644 (file)
@@ -108,7 +108,7 @@ Pman.Tab.BuilderDatabase = new Roo.XComponent({
                                                         new Pman.Download({
                                                             url : baseURL + '/Roo/Builder_tables.php',
                                                             params : {
-                                                                _dump : 1
+                                                                _dumpDatabase : 1
                                                             },
                                                             method : 'GET',
                                                             success : function() {