diff options
| author | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-10-09 09:55:49 +0530 |
|---|---|---|
| committer | Divyesh Makwana (Open ERP) <mdi@tinyerp.com> | 2012-10-09 09:55:49 +0530 |
| commit | dea855cd6b6dc48e4a5e9ded032bf0017f1b04e9 (patch) | |
| tree | 56ba5d49a5bfd23b8ad65171a1631d408833ea25 /addons/process/static | |
| parent | 65e70487c2842b72a2236876650a3dc4e595808f (diff) | |
| parent | cf35464125f0625100bd52111268534c116f3873 (diff) | |
[Merge] Merge with main addons.
bzr revid: mdi@tinyerp.com-20121009042549-0p7r14367dquz6um
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); } }); }; |
