diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-10-10 15:06:53 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-10-10 15:06:53 +0200 |
| commit | 01f6099cd1712c5336fc40bc249a2ff36eb3443d (patch) | |
| tree | a1252ab50048c33eaf513a04e53529ca9f986011 /addons/process/static/src | |
| parent | b70d0dab52d3cbbb49d88ae2e9cc5e72f222cbc2 (diff) | |
| parent | 7796ecaccf787b1a2f6833ff8c68fa1cfeec2d55 (diff) | |
[MERGE] from trunk
bzr revid: xmo@openerp.com-20121010130653-zjsc2kuhmbyb512s
Diffstat (limited to 'addons/process/static/src')
| -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..386a9653c02 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('write_completed', self, self.initialize_process_view); } }); }; |
