summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/file_upload_progress_bar.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/js/views/file_upload_progress_bar.js')
-rw-r--r--addons/web/static/src/js/views/file_upload_progress_bar.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/js/views/file_upload_progress_bar.js b/addons/web/static/src/js/views/file_upload_progress_bar.js
index 7eea38dd8f6..6c938e2de74 100644
--- a/addons/web/static/src/js/views/file_upload_progress_bar.js
+++ b/addons/web/static/src/js/views/file_upload_progress_bar.js
@@ -31,7 +31,7 @@ const ProgressBar = Widget.extend({
* @return {Promise}
*/
start() {
- this.xhr.onabort = () => this.do_notify(_t("Upload canceled"));
+ this.xhr.onabort = () => this.do_notify(false, _t("Upload cancelled"));
return this._super(...arguments);
},