Pman.Tab.XtupleSalesOrder.bjs
authorEdward <edward@roojs.com>
Thu, 23 Jan 2014 07:40:50 +0000 (15:40 +0800)
committerEdward <edward@roojs.com>
Thu, 23 Jan 2014 07:40:50 +0000 (15:40 +0800)
Pman.Tab.XtupleSalesOrder.js

Pman.Tab.XtupleSalesOrder.bjs
Pman.Tab.XtupleSalesOrder.js

index 367314e..ea1e61a 100644 (file)
                                                                 },
                                                                 {
                                                                     "listeners": {
-                                                                        "click": "function (_self, e)\n{\n    Pman.Dialog.XtupleUploadHSBC.show( {} , function(res) {\n        Pman.Dialog.Image.show({\n            timeout : 90000,\n            _url : baseURL + '/Xtuple/Import/HSBC?' + Roo.urlEncode(res)\n        }, function(data) {\n            Roo.log(data);\n            //Roo.MessageBox.alert('Success', '')\n            _this.grid.footer.onClick('first');\n        });\n    }); \n}"
+                                                                        "click": "function (_self, e)\n{\n    Pman.Dialog.XtupleUploadHSBC.show( {} , function(res) {\n        Pman.Dialog.Image.show({\n            timeout : 90000,\n            _url : baseURL + '/Xtuple/Import/HSBC?' + Roo.urlEncode(res)\n        }, function(data) {\n            Roo.MessageBox.alert('Success', data);\n            _this.grid.footer.onClick('first');\n        });\n    }); \n}"
                                                                     },
                                                                     "text": "Import HSBC csv file",
                                                                     "xtype": "Item",
index 2f345f5..2241667 100644 (file)
@@ -235,8 +235,7 @@ Pman.Tab.XtupleSalesOrder = new Roo.XComponent({
                                                                     timeout : 90000,
                                                                     _url : baseURL + '/Xtuple/Import/HSBC?' + Roo.urlEncode(res)
                                                                 }, function(data) {
-                                                                    Roo.log(data);
-                                                                    //Roo.MessageBox.alert('Success', '')
+                                                                    Roo.MessageBox.alert('Success', data);
                                                                     _this.grid.footer.onClick('first');
                                                                 });
                                                             });