diff options
| author | Xavier Morel <xmo@openerp.com> | 2012-11-06 09:43:53 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2012-11-06 09:43:53 +0100 |
| commit | aabb0f38fa51ccde3e60ab1517e1b21eecf511ab (patch) | |
| tree | b00e1390bfd89610a61804e0280f9b82ad5c3830 /addons/base_import/static/src/xml/import.xml | |
| parent | 18f885b10fbf3c77cd833ca55bb53ac2ba83e988 (diff) | |
[FIX] base_import: only allow reloading the current file if there *is* a current file loaded
bzr revid: xmo@openerp.com-20121106084353-npwkbkg6r0wkwdrg
Diffstat (limited to 'addons/base_import/static/src/xml/import.xml')
| -rw-r--r-- | addons/base_import/static/src/xml/import.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/base_import/static/src/xml/import.xml b/addons/base_import/static/src/xml/import.xml index a121c15f8c8..0da75eb69b9 100644 --- a/addons/base_import/static/src/xml/import.xml +++ b/addons/base_import/static/src/xml/import.xml @@ -30,7 +30,9 @@ <label t-attf-for="file_#{_id}" autofocus="autofocus">CSV File:</label> <input type="file" id-attf-id="file_#{_id}" name="file" class="oe_import_file"/> - <button type="button" class="oe_import_file_reload" title="Reload data to check changes."> + <button type="button" class="oe_import_file_reload" + disabled="disabled" + title="Reload data to check changes."> <img src="/web/static/src/img/icons/gtk-refresh.png"/> </button> <div class="oe_import_with_file"> |
