summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/data_import.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2011-10-24 16:17:37 +0200
committerXavier Morel <xmo@openerp.com>2011-10-24 16:17:37 +0200
commitcd59e5e6fbf07bb1783dde48ecdafa73000d33c4 (patch)
tree656e88d4dff78d303b189915ff19d4cf0c5fbb0f /addons/web/static/src/js/data_import.js
parentb45b7ad22cce753a00fff13981502e2c807cee79 (diff)
[ADD] open/close arrow next to import options
bzr revid: xmo@openerp.com-20111024141737-bk2rg08wvll1hgno
Diffstat (limited to 'addons/web/static/src/js/data_import.js')
-rw-r--r--addons/web/static/src/js/data_import.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/data_import.js b/addons/web/static/src/js/data_import.js
index 42f0cf8d680..a284669732d 100644
--- a/addons/web/static/src/js/data_import.js
+++ b/addons/web/static/src/js/data_import.js
@@ -81,7 +81,7 @@ openerp.web.DataImport = openerp.web.Dialog.extend({
this.$element.find('#csvfile').change(this.on_autodetect_data);
this.$element.find('fieldset').change(this.on_autodetect_data);
this.$element.delegate('fieldset legend', 'click', function() {
- $(this).next().toggle();
+ $(this).parent().toggleClass('oe-closed');
});
this.ready.push(new openerp.web.DataSet(this, this.model).call(
'fields_get', [], function (fields) {