Roo/bootstrap/ButtonUploader.js
authorAlan Knowles <alan@roojs.com>
Wed, 2 Jun 2021 06:44:41 +0000 (14:44 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 2 Jun 2021 06:44:41 +0000 (14:44 +0800)
Roo/bootstrap/ButtonUploader.js

index 03bc7cb..3fb1bc6 100644 (file)
@@ -104,14 +104,7 @@ Roo.extend(Roo.bootstrap.CardUploader, Roo.bootstrap.Button,  {
         this.selectorEl = this.el.select('.roo-card-upload-selector', true).first();
         
         this.selectorEl.on('change', this.onFileSelected, this);
-        if (this.images) {
-            var t = this;
-            this.images.forEach(function(img) {
-                t.addCard(img)
-            });
-            this.images = false;
-        }
-        this.containerEl = this.el.select('.roo-card-uploader-container', true).first();
+         
          
        
     },