diff options
| author | Fabien Meghazi <fme@openerp.com> | 2011-12-21 14:43:06 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2011-12-21 14:43:06 +0100 |
| commit | 41cd88bfad1e61f244295fa3a2ac9e2abf01a100 (patch) | |
| tree | cfa3f5e833affd6435cb90ce6f84e580833915a3 /addons/web/static/src/js/data_export.js | |
| parent | 61b780a9a887d130dd9b772c8639fea064b7a605 (diff) | |
[FIX] Reworked dialogs
lp bug: https://launchpad.net/bugs/892248 fixed
lp bug: https://launchpad.net/bugs/885507 fixed
bzr revid: fme@openerp.com-20111221134306-k5w0g0oih3uvhy34
Diffstat (limited to 'addons/web/static/src/js/data_export.js')
| -rw-r--r-- | addons/web/static/src/js/data_export.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/addons/web/static/src/js/data_export.js b/addons/web/static/src/js/data_export.js index 8a2d2c8594b..78dc3bef1f9 100644 --- a/addons/web/static/src/js/data_export.js +++ b/addons/web/static/src/js/data_export.js @@ -15,10 +15,6 @@ openerp.web.DataExport = openerp.web.Dialog.extend({ var self = this; this._super.apply(this, arguments); this.open({ - modal: true, - width: '55%', - height: 'auto', - position: 'top', buttons : [ {text: _t("Close"), click: function() { self.close(); }}, {text: _t("Export To File"), click: function() { self.on_click_export_data(); }} @@ -385,7 +381,7 @@ openerp.web.DataExport = openerp.web.Dialog.extend({ }); }, close: function() { - $(this.$dialog).remove(); + this.$element.remove(); this._super(); } }); |
