Pman.Dialog.XtupleTransfer.bjs
authorEdward <edward@roojs.com>
Mon, 20 Jan 2014 11:21:52 +0000 (19:21 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Jan 2014 11:21:52 +0000 (19:21 +0800)
Pman.Dialog.XtupleTransfer.js

Pman.Dialog.XtupleTransfer.bjs
Pman.Dialog.XtupleTransfer.js

index 691ec4a..b26a262 100644 (file)
                                     "items": [
                                         {
                                             "listeners": {
-                                                "|click": "function()\n{\n    var id = _this.form.findField('invhist_transfer_id').getValue();\n    \n    if(id * 1 < 1){\n        return;\n    }\n    \n    new Pman.Request({\n        url : baseURL + '/Roo/invhist_transfer',\n        method : 'POST',\n        mask: 'Fixing',\n        timeout : 1200000, //20 minutes...! - big xfer should be 10mins.\n        params : {\n            invhist_transfer_id : id,\n            _fix : 1\n        },\n        success : function () \n        {\n            _this.grid.footer.onClick('refresh');\n        }\n    });\n    \n    \n    \n}\n"
+                                                "|click": "function()\n{\n    var id = _this.form.findField('invhist_transfer_id').getValue();\n    \n    if(id * 1 < 1){\n        return;\n    }\n    \n    new Pman.Request({\n        url : baseURL + '/Roo/invhist_transfer',\n        method : 'POST',\n        mask: 'Fixing',\n        timeout : 1200000, //20 minutes...! - big xfer should be 10mins.\n        params : {\n            invhist_transfer_id : id,\n            _fix : 1\n        },\n        success : function () \n        {\n            _this.tgrid.footer.onClick('refresh');\n        }\n    });\n    \n    \n    \n}\n"
                                             },
                                             "cls": "x-btn-text-icon",
                                             "text": "Fix Transfer",
index 4de38a0..c96c841 100644 (file)
@@ -1604,7 +1604,7 @@ Pman.Dialog.XtupleTransfer = {
                                                 },
                                                 success : function () 
                                                 {
-                                                    _this.grid.footer.onClick('refresh');
+                                                    _this.tgrid.footer.onClick('refresh');
                                                 }
                                             });