Roo/bootstrap/MessageBox.js
authorAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 08:23:19 +0000 (16:23 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 30 Nov 2018 08:23:19 +0000 (16:23 +0800)
Roo/bootstrap/MessageBox.js

index 22e40e8..76038e7 100644 (file)
@@ -342,6 +342,9 @@ Roo.Msg.show({
                 textareaEl.hide();
             }
             progressEl.setDisplayed(opt.progress === true);
+            if (opt.progress) {
+                d.animate = false; // do not animate progress, as it may not have finished animating before we close it..
+            }
             this.updateProgress(0);
             activeTextEl.dom.value = opt.value || "";
             if(opt.prompt){