diff options
| author | Amit Patel <apa@tinyerp.com> | 2012-10-09 14:40:07 +0530 |
|---|---|---|
| committer | Amit Patel <apa@tinyerp.com> | 2012-10-09 14:40:07 +0530 |
| commit | cc4dd77093b50995c111db7b90ae3566f624bd41 (patch) | |
| tree | 9c5d13a893e70d4f6488e4358fedb78b9bfcfeaa /addons/process/static/src/js/process.js | |
| parent | 1337132d1c546db7e046708de11005cc443f87ec (diff) | |
| parent | 876073f5ec357fb428f848792a60252cb1aeeaa1 (diff) | |
[MERGE]:trunk
bzr revid: apa@tinyerp.com-20121009091007-3gbnwdvtlfq5v6y3
Diffstat (limited to 'addons/process/static/src/js/process.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); } }); }; |
