Permalink
Browse files

🚑 Fixed multi-attach button click (it-projects-llc/addons-dev#562)

  • Loading branch information...
KolushovAlexandr authored and ilmir-k committed Oct 4, 2018
1 parent 8851ab4 commit e04cf3feb02d2169817ad196d6914268729c3fea
@@ -2,6 +2,6 @@ input[type="file"]#file-upload {
display: none;
}
.custom-file-upload {
padding: 3px 5px 0px 5px;
background-color: #f4f4f4 !important;
cursor: pointer;
}
@@ -4,12 +4,10 @@
<template>
<t t-name="DropAttachments.select_files_button">
<button class="multiple_images_attachment" style="display: none;">
<label for="file-upload" class="custom-file-upload">
<i class="fa fa-cloud-upload"></i> Select Images
</label>
<input id="file-upload" type="file" multiple="multiple" class="o_button_select_files btn btn-primary btn-sm o_form_input_file" accept="image/*"/>
</button>
<label for="file-upload" class="btn btn-default btn-sm custom-file-upload" style="display: none;">
<i class="fa fa-cloud-upload"></i> Select Images
<input id="file-upload" type="file" multiple="multiple" class="o_button_select_files btn btn-primary btn-sm o_form_input_file" accept="image/*" style="display: none;"/>
</label>
</t>
<t t-extend="KanbanView.buttons">

0 comments on commit e04cf3f

Please sign in to comment.