Pman.Tab.XtupleReports.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 13:11:46 +0000 (21:11 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 18 Dec 2013 13:11:46 +0000 (21:11 +0800)
Pman.Tab.XtupleReports.js

Pman.Tab.XtupleReports.bjs
Pman.Tab.XtupleReports.js

index 56896a9..2b5691c 100644 (file)
                                                 },
                                                 {
                                                     "listeners": {
-                                                        "click": "function (_self, e)\n{\n    Pman.Dialog.Image.show({\n        \n    \n    });\n}"
+                                                        "click": "function (_self, e)\n{\n   Pman.Dialog.Image.show(\n       {\n            _url : baseURL+'/Xtuple/Report'\n        \n       },\n       function (data) {\n            Roo.MessageBox.alert(\"Notice\", \"Updated\");\n\n       }\n   );\n}"
                                                     },
                                                     "text": "Upload New version",
                                                     "xtype": "Button",
index 32154cb..72561c5 100644 (file)
@@ -212,10 +212,16 @@ Pman.Tab.XtupleReports = new Roo.XComponent({
                                         listeners : {
                                             click : function (_self, e)
                                             {
-                                                Pman.Dialog.Image.show({
+                                               Pman.Dialog.Image.show(
+                                                   {
+                                                        _url : baseURL+'/Xtuple/Report'
                                                     
-                                                
-                                                });
+                                                   },
+                                                   function (data) {
+                                                        Roo.MessageBox.alert("Notice", "Updated");
+                                            
+                                                   }
+                                               );
                                             }
                                         },
                                         text : "Upload New version"