diff options
| author | Raphael Collet <rco@openerp.com> | 2012-10-08 17:16:38 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2012-10-08 17:16:38 +0200 |
| commit | 8d8e15dd2bb2807f0ab07dd067ad8c2aa1d6cbf5 (patch) | |
| tree | 4d6caca6f3fb14161748f89790efe75d360164a7 /addons/process/static | |
| parent | 13e3792d42569b20883d3adbb62b2aef127d8c8c (diff) | |
| parent | cf35464125f0625100bd52111268534c116f3873 (diff) | |
[MERGE] from trunk
bzr revid: rco@openerp.com-20121008151638-27jt1dm0jxa5xla3
Diffstat (limited to 'addons/process/static')
| -rw-r--r-- | addons/process/static/src/js/process.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/addons/process/static/src/js/process.js b/addons/process/static/src/js/process.js index 57c6f196012..c593c1569fc 100644 --- a/addons/process/static/src/js/process.js +++ b/addons/process/static/src/js/process.js @@ -6,7 +6,6 @@ instance.web.ViewManager.include({ var self = this; var _super = this._super(); this.process_help = this.action ? this.action.help : ''; - self.process_help = $(this.process_help).text(); if(this.action) { this.process_model = this.action.res_model; } else { @@ -240,9 +239,7 @@ instance.web.ViewManager.include({ title: _t('Process') }); var form_controller = pop.view_form; - pop.on_write_completed.add_last(function() { - self.initialize_process_view(); - }); + pop.on('on_write_complete', self, self.initialize_process_view); } }); }; |
