summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/base.xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-06-14 17:00:10 +0200
committerFabien Meghazi <fme@openerp.com>2012-06-14 17:00:10 +0200
commitedcf216d33609fd7a204c70bad0dcd82dfbf57c0 (patch)
tree0ecee9595e911f80868ad561d4a5e54679ed28d2 /addons/web/static/src/xml/base.xml
parent8c01d7ba59a6efc4d81707ad3260c1836c1aa1e5 (diff)
[FIX] Saving a binary field not saved yet crashes
lp bug: https://launchpad.net/bugs/1010475 fixed bzr revid: fme@openerp.com-20120614150010-ik6f3rqk8li314aq
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
-rw-r--r--addons/web/static/src/xml/base.xml10
1 files changed, 6 insertions, 4 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index b90addb0a2c..ca4ce011bb3 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1074,10 +1074,12 @@
</t>
</td>
<td>
- <button class="oe_button oe-binary-file-save" type="button" title="Save As">
- <img t-att-src='_s + "/web/static/src/img/icons/gtk-save.png"'/>
- <span>Save As</span>
- </button>
+ <a class="oe_binary_file_save_data">
+ <button class="oe_button oe_binary_file_save" type="button" title="Save As">
+ <img t-att-src='_s + "/web/static/src/img/icons/gtk-save.png"'/>
+ <span>Save As</span>
+ </button>
+ </a>
</td>
<td>
<button class="oe_button oe-binary-file-clear" type="button" title="Clear">