diff --git a/js/apps/system/aardvark/frontend/js/views/progressView.js b/js/apps/system/aardvark/frontend/js/views/progressView.js index fb5de66daa..f343228a3f 100644 --- a/js/apps/system/aardvark/frontend/js/views/progressView.js +++ b/js/apps/system/aardvark/frontend/js/views/progressView.js @@ -19,11 +19,12 @@ action: function(){}, events: { - "click .progress-action button": "performAction" + "click .progress-action button": "performAction", }, performAction: function() { - this.action(); + //this.action(); + window.progressView.hide(); }, initialize: function() { @@ -43,9 +44,10 @@ show: function(msg, action, button) { $(this.el).html(this.template.render({})); $(".progress-text").text(msg); - $(".progress-action").html(button); - - this.action = action; + $(".progress-action").html(''); + this.action = this.hide(); + //$(".progress-action").html(button); + //this.action = action; $(this.el).show(); //$(this.el2).html('');