diff --git a/muk_web_utils/__manifest__.py b/muk_web_utils/__manifest__.py index bc83e1d..5d2501e 100644 --- a/muk_web_utils/__manifest__.py +++ b/muk_web_utils/__manifest__.py @@ -20,7 +20,7 @@ { "name": "MuK Web Utils", "summary": """Utility Features""", - "version": "12.0.2.4.3", + "version": "12.0.2.4.4", "category": "Extra Tools", "license": "AGPL-3", "author": "MuK IT", diff --git a/muk_web_utils/static/src/js/services/notification_service.js b/muk_web_utils/static/src/js/services/notification_service.js index c188948..5e22029 100644 --- a/muk_web_utils/static/src/js/services/notification_service.js +++ b/muk_web_utils/static/src/js/services/notification_service.js @@ -24,7 +24,6 @@ var NotificationService = require('web.NotificationService'); NotificationService.include({ progress: function (notificationId, progress) { - console.log(this) if(notificationId in this.notifications) { var notification = this.notifications[notificationId]; notification.updateProgress(progress.state, progress.text); diff --git a/muk_web_utils/static/src/js/widgets/notification.js b/muk_web_utils/static/src/js/widgets/notification.js index ad9a6c8..89a3938 100644 --- a/muk_web_utils/static/src/js/widgets/notification.js +++ b/muk_web_utils/static/src/js/widgets/notification.js @@ -34,12 +34,9 @@ Notification.include({ this.progress = params.progress; }, updateProgress: function(state, text) { - console.log(state, text) this.progress = {state: state, text: text}; - this.$(".progress-bar").animate({ - width: state + "%", - }, 250); this.$(".progress-bar").text(text); + this.$(".progress-bar").width(state + "%"); }, });