diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-09-18 16:49:24 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2012-09-18 16:49:24 +0200 |
| commit | d9d3aab5151b1651d6eb36057f121ebee4af76f0 (patch) | |
| tree | a18dd98806402e70ae919b42dba79682f389076d /addons/web/static/src | |
| parent | 2c09f43b7efe7d7696d87029b1107ce563c4dfc3 (diff) | |
[FIX] Problem with popups
bzr revid: nicolas.vanhoren@openerp.com-20120918144924-2y72o7tauxspk4la
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/chrome.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/chrome.js b/addons/web/static/src/js/chrome.js index d5b45a87bf5..9fdfb50307f 100644 --- a/addons/web/static/src/js/chrome.js +++ b/addons/web/static/src/js/chrome.js @@ -126,11 +126,11 @@ instance.web.Dialog = instance.web.Widget.extend({ if (! this.dialog_inited) this.init_dialog(); var o = this.get_options(options); - if (! this.no_erase_buttons) { + if (! this.params_buttons) { this.$buttons.appendTo($("body")); } instance.web.dialog(this.$el, o).dialog('open'); - if (! this.no_erase_buttons) { + if (! this.params_buttons) { this.$buttons.appendTo(this.$el.dialog("widget")); } if (o.height === 'auto' && o.max_height) { |
