Pman.Dialog.BuilderAddTable.bjs
authorAlan Knowles <alan@akbkhome.com>
Tue, 25 Oct 2011 07:33:29 +0000 (15:33 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 25 Oct 2011 07:33:29 +0000 (15:33 +0800)
Pman.Dialog.BuilderAddTable.bjs
Pman.Dialog.BuilderAddTable.js
Pman.Dialog.BuilderAddTable.js

Pman.Dialog.BuilderAddTable.bjs
Pman.Dialog.BuilderAddTable.js

index 3a79c94..42e5e2b 100644 (file)
                 },
                 {
                     "listeners": {
-                        "click": "function (_self, e)\n{\n     var ret = Roo.apply({},  _this.data);\n     \n     _this.grid.ds.each(function(r) {\n     \n        if (r.data.use) {\n                ret.cols.push(r.data);\n        }\n         if (r.data.use_ex) {\n             ret.cols_ex.push( r.data.column );\n         }\n\n     })\n     \n     this.callback(ret);\n     \n\n}"
+                        "click": "function (_self, e)\n{\n     var ret = Roo.apply({},  _this.data);\n     \n     _this.grid.ds.each(function(r) {\n     \n        if (r.data.use) {\n                ret.cols.push(r.data);\n        }\n         if (r.data.use_ex) {\n             ret.cols_ex.push( r.data.column );\n         }\n\n     })\n     \n     this.callback(ret);\n     _this.dialog.hide();\n\n}"
                     },
                     "*prop": "buttons[]",
                     "text": "Next",
index fcb54c6..fcc8b78 100644 (file)
@@ -272,7 +272,7 @@ Pman.Dialog.BuilderAddTable = {
                              })
                              
                              this.callback(ret);
-                             
+                             _this.dialog.hide();
                         
                         }
                     },