Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Mon, 14 Mar 2016 05:15:26 +0000 (13:15 +0800)
committeredward <edward@roojs.com>
Mon, 14 Mar 2016 05:15:26 +0000 (13:15 +0800)
Roo/bootstrap/UploadCropbox.js

index c6010d3..d7d4ef3 100644 (file)
@@ -228,7 +228,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
         
         this.selectorEl = this.el.select('.roo-upload-cropbox-selector', true).first();
         this.selectorEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
-//        this.selectorEl.hide();
+        this.selectorEl.hide();
         
         this.previewEl = this.el.select('.roo-upload-cropbox-preview', true).first();
         this.previewEl.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
@@ -339,8 +339,6 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
     {
         e.preventDefault();
         
-        Roo.log('run???');
-        
         if(this.fireEvent('beforeselectfile', this) != false){
             this.selectorEl.dom.click();
         }