Roo/bootstrap/DocumentManager.js
authoredward <edward@roojs.com>
Fri, 19 Feb 2016 06:08:04 +0000 (14:08 +0800)
committeredward <edward@roojs.com>
Fri, 19 Feb 2016 06:08:04 +0000 (14:08 +0800)
Roo/bootstrap/DocumentManager.js

index a7c0006..94e8709 100644 (file)
@@ -379,7 +379,7 @@ Roo.extend(Roo.bootstrap.DocumentManager, Roo.bootstrap.Component,  {
         
         this.uploader.show();
         
-        if(this.files.length > 11){
+        if(this.files.length > this.boxes - 1){
             this.uploader.hide();
         }