[FIX] web: file upload progress bar should not conflict with the field ProgressBar
closes odoo/odoo#44255 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
This commit is contained in:
@@ -6,7 +6,7 @@ const Dialog = require('web.Dialog');
|
||||
const Widget = require('web.Widget');
|
||||
|
||||
const ProgressBar = Widget.extend({
|
||||
template: 'web.ProgressBar',
|
||||
template: 'web.FileUploadProgressBar',
|
||||
|
||||
events: {
|
||||
'click .o_upload_cross': '_onClickCross',
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
|
||||
<div t-name="web.ProgressBar" class="o_file_upload_progress_bar">
|
||||
<div t-name="web.FileUploadProgressBar" class="o_file_upload_progress_bar">
|
||||
<div class="o_file_upload_progress_bar_value"/>
|
||||
<span class="o_upload_cross fa fa-times-circle" title="Cancel Upload" aria-label="Cancel Upload"/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user