diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-10-24 16:06:58 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-10-24 16:06:58 +0200 |
| commit | b45b7ad22cce753a00fff13981502e2c807cee79 (patch) | |
| tree | c186e399efd5715b073f17068ffa3fb3d4b004fa /addons/web/static/src/js/data_import.js | |
| parent | a8b81ed5754ef0f2495b28b517f2a5b7ed9ba749 (diff) | |
[IMP] import: only show second step once file has been uploaded
bzr revid: xmo@openerp.com-20111024140658-8t9csv9i6gd30luj
Diffstat (limited to 'addons/web/static/src/js/data_import.js')
| -rw-r--r-- | addons/web/static/src/js/data_import.js | 2 |
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 025ff8df1c5..42f0cf8d680 100644 --- a/addons/web/static/src/js/data_import.js +++ b/addons/web/static/src/js/data_import.js @@ -80,7 +80,7 @@ openerp.web.DataImport = openerp.web.Dialog.extend({ this.toggle_import_button(false); this.$element.find('#csvfile').change(this.on_autodetect_data); this.$element.find('fieldset').change(this.on_autodetect_data); - this.$element.find('fieldset legend').click(function() { + this.$element.delegate('fieldset legend', 'click', function() { $(this).next().toggle(); }); this.ready.push(new openerp.web.DataSet(this, this.model).call( |
