@ -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",
@ -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);
@ -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 + "%");
});