diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-07-26 16:30:26 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-07-26 16:30:26 +0200 |
| commit | a29023b3f2a253140d6eb6c158df9a910eb11979 (patch) | |
| tree | b4d21697986d90a6e67db5e634fa876f5c6b19a9 /addons/web_process/static/src | |
| parent | 239131a71667408dafbae418bd6a95d3d1f26858 (diff) | |
[FIX] avoid fucking up ViewManager#start in process: correctly return _super() result
bzr revid: xmo@openerp.com-20120726143026-ttu6x6zq2vp106s9
Diffstat (limited to 'addons/web_process/static/src')
| -rw-r--r-- | addons/web_process/static/src/js/process.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/web_process/static/src/js/process.js b/addons/web_process/static/src/js/process.js index bb32d300be8..60259f26b64 100644 --- a/addons/web_process/static/src/js/process.js +++ b/addons/web_process/static/src/js/process.js @@ -3,12 +3,13 @@ openerp.web_process = function (instance) { _t = instance.web._t; instance.web.ViewManager.include({ start: function() { - this._super(); + var _super = this._super(); this.process_check(); this.process_help = this.action ? this.action.help : 'Help: Not Defined'; this.model = this.dataset.model; if(this.action) this.process_model = this.action.res_model; else this.process_model = this.model; + return _super; }, process_check: function() { var self = this, |
