[IMP] attachment: binary does not need save as button in widget

This commit is contained in:
Josse Colpaert
2016-08-30 13:59:53 +02:00
parent ba104eba6a
commit cc719412d9
2 changed files with 0 additions and 2 deletions
@@ -1082,7 +1082,6 @@ var FieldBinary = common.AbstractField.extend(common.ReinitializeFieldMixin, {
this.$('.o_select_file_button').click(function() {
self.$inputFile.click();
});
this.$('.o_save_file_button').click(this.on_save_as);
this.$('.o_clear_file_button').click(this.on_clear);
},
on_file_change: function(e) {
-1
View File
@@ -860,7 +860,6 @@
<button type="button" class="btn btn-sm btn-primary o_select_file_button" title="Select">Upload your file</button>
<button type="button" class="btn btn-sm btn-default fa fa-pencil o_select_file_button" title="Select"/>
<button type="button" class="btn btn-sm btn-default fa fa-download o_save_file_button" title="Save As..."/>
<button type="button" class="btn btn-sm btn-default fa fa-trash-o o_clear_file_button" title="Clear"/>
<span class="o_form_binary_progress">Uploading...</span>