From: Edward Date: Fri, 30 Nov 2018 03:41:25 +0000 (+0800) Subject: Roo/bootstrap/DocumentManager.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=c16eee83b5a0c41d6454224ce71195966ed7af86 Roo/bootstrap/DocumentManager.js --- diff --git a/Roo/bootstrap/DocumentManager.js b/Roo/bootstrap/DocumentManager.js index 84ed6df39a..1b1307dde4 100644 --- a/Roo/bootstrap/DocumentManager.js +++ b/Roo/bootstrap/DocumentManager.js @@ -362,10 +362,10 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component, { this.files = this.files.slice(0, this.boxes); } - this.uploader.show(); + this.uploader.show(false); if(this.boxes > 0 && this.files.length > this.boxes - 1){ - this.uploader.hide(); + this.uploader.hide(false); } var _this = this; @@ -419,14 +419,14 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component, { arrange : function() { if(!this.delegates.length){ - this.progressDialog.hide(); + this.progressDialog.hide(false); this.refresh(); return; } var delegate = this.delegates.shift(); - this.progressDialog.show(); + this.progressDialog.show(false); this.progressDialog.setTitle((this.progressBar.aria_valuemax - this.delegates.length) + ' / ' + this.progressBar.aria_valuemax); @@ -437,10 +437,10 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component, { refresh : function() { - this.uploader.show(); + this.uploader.show(false); if(this.boxes > 0 && this.files.length > this.boxes - 1){ - this.uploader.hide(); + this.uploader.hide(false); } Roo.isTouch ? this.closable(false) : this.closable(true);