[MERGE] [FIX] upload widget: avoid overflow making impossible to click on other buttons than the first one (opw 603125)

bzr revid: mat@openerp.com-20140407120612-mjb08yts2oa4k4jz
This commit is contained in:
Martin Trigaux 2014-04-07 14:06:12 +02:00
commit d0b7e7fc7b
3 changed files with 2 additions and 1 deletions

View File

@ -2488,6 +2488,7 @@
}
.openerp .oe_hidden_input_file {
position: relative;
overflow-x: hidden;
}
.openerp .oe_hidden_input_file input.oe_form_binary_file {
z-index: 0;

View File

@ -1976,6 +1976,7 @@ $sheet-padding: 16px
// Position: relative is used for the hidden input[type=file]
// Do not remove it anymore !
position: relative
overflow-x: hidden
input.oe_form_binary_file
z-index: 0
line-height: 0

View File

@ -1240,7 +1240,6 @@
<td>
<t t-call="HiddenInputFile">
<t t-set="fileupload_id" t-value="widget.fileupload_id"/>
<t t-set="fileupload_style" t-translation="off">width: 83px;</t>
<button class="oe_button oe_field_button" type="button">
<img t-att-src='_s + "/web/static/src/img/icons/STOCK_DIRECTORY.png"'/>
<span>Select</span>