summaryrefslogtreecommitdiff
path: root/addons/web_process/static/src
diff options
context:
space:
mode:
authorAntony Lesuisse <al@openerp.com>2012-08-01 14:48:04 +0200
committerAntony Lesuisse <al@openerp.com>2012-08-01 14:48:04 +0200
commitfbb2f80cf1c6c593ac6de1e2636ae0dc9dd8a7f8 (patch)
tree5b1672edaf3e7eebf269127ec301a9ac8f93c488 /addons/web_process/static/src
parentc72a63472bda74f7b2a31328e5c514ae24808375 (diff)
parent574f3891a550cfda0b07b397f390c543cb897601 (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.js3
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,