diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-08 15:03:55 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-10-08 15:03:55 +0200 |
| commit | d27242e164b3f2e73d32ef6b84baa45744b635e1 (patch) | |
| tree | 072fafd7189c7df3e248bf7c9f0992d5621faefd /addons/process/static/src/js | |
| parent | 46b112f1295a4302b81d043b49df869a1aa3affe (diff) | |
| parent | d9d07f9a13092c2132abc954d6114784ecb02a2f (diff) | |
merge trunk
bzr revid: nicolas.vanhoren@openerp.com-20121008130355-xirvrhc414ymq52y
Diffstat (limited to 'addons/process/static/src/js')
| -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); } }); }; |
