diff options
| author | Amit Patel <apa@tinyerp.com> | 2012-10-10 17:02:27 +0530 |
|---|---|---|
| committer | Amit Patel <apa@tinyerp.com> | 2012-10-10 17:02:27 +0530 |
| commit | 93dc1c41b736a3ced9af8be3cefc6e39da1bd42b (patch) | |
| tree | 9a8573e3ea69f0b654d65803af9bd963379491cf /addons/process/static | |
| parent | 82a1e021cb1467cb30b6a3a0e0a39a1939619f34 (diff) | |
| parent | bbbc6a304dca2b58aef7e47e2bba9e155de160f9 (diff) | |
[MERGE]:trunk
bzr revid: apa@tinyerp.com-20121010113227-o0wsd7p5qxdujmxr
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..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); } }); }; |
