diff options
| author | Antony Lesuisse <al@openerp.com> | 2012-08-01 14:48:04 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2012-08-01 14:48:04 +0200 |
| commit | fbb2f80cf1c6c593ac6de1e2636ae0dc9dd8a7f8 (patch) | |
| tree | 5b1672edaf3e7eebf269127ec301a9ac8f93c488 /addons/web_process/static/src | |
| parent | c72a63472bda74f7b2a31328e5c514ae24808375 (diff) | |
| parent | 574f3891a550cfda0b07b397f390c543cb897601 (diff) | |
[MERGE] backbonify-widgets, minor api changes that make Widget more similar to backbone Views
bzr revid: al@openerp.com-20120801124804-ov9l9ytabqx54gdo
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, |
