diff options
| author | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-10-15 17:03:32 +0530 |
|---|---|---|
| committer | Vidhin Mehta (OpenERP) <vme@tinyerp.com> | 2012-10-15 17:03:32 +0530 |
| commit | 287b9d09eb740f6adfafdbbc65265f2aecf515ba (patch) | |
| tree | d0d686830d71c964f03bc69f85c3ef26dec6f006 /addons/process | |
| parent | 3eb5cfb61b6bbb84043f4fa6b3fdefb0fbb320c7 (diff) | |
| parent | 7f23ad5de563eacfcae958d0011637800b097d4a (diff) | |
[MERGE]trunk.
bzr revid: vme@tinyerp.com-20121015113332-i8g3d8na27j08h3l
Diffstat (limited to 'addons/process')
| -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 2b543484f2e..547bf48b9f3 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 { @@ -239,9 +238,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); } }); }; |
