diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-02-21 16:30:23 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-02-21 16:30:23 +0100 |
| commit | 8384876ef08ae3e8af97a9531da7f79a8359d607 (patch) | |
| tree | f249223fefa85dc207e52590d0f6b102a6714467 /addons/web_process/static/src/js | |
| parent | a6f6b7fd9dd636bde823b39edc309f69eb994d6d (diff) | |
[imp] renamed widget_parent to getParent()
bzr revid: nicolas.vanhoren@openerp.com-20120221153023-cqs66neaddtuf7km
Diffstat (limited to 'addons/web_process/static/src/js')
| -rw-r--r-- | addons/web_process/static/src/js/process.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_process/static/src/js/process.js b/addons/web_process/static/src/js/process.js index cd30dad1f13..c6205766e70 100644 --- a/addons/web_process/static/src/js/process.js +++ b/addons/web_process/static/src/js/process.js @@ -12,7 +12,7 @@ openerp.web_process = function (openerp) { }, process_check: function() { var self = this, - grandparent = this.widget_parent && this.widget_parent.widget_parent, + grandparent = this.getParent() && this.getParent().getParent(), view = this.views[this.views_src[0].view_type], $process_view = this.$element.find('.oe-process-view'); if (!(grandparent instanceof openerp.web.WebClient) || @@ -128,7 +128,7 @@ openerp.web_process = function (openerp) { this.$element.find('#edit_process').click(function() { self.edit_process_view(); }); - var $parent = this.widget_parent.$element; + var $parent = this.getParent().$element; $parent.find('#change_process').click(function() { self.process_selection = false, self.process_id = $parent.find('#select_process').val(), |
