Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Tue, 19 Jan 2016 08:13:37 +0000 (16:13 +0800)
committeredward <edward@roojs.com>
Tue, 19 Jan 2016 08:13:37 +0000 (16:13 +0800)
Roo/bootstrap/UploadCropbox.js

index 2dedc16..c0fa2d4 100644 (file)
@@ -207,9 +207,6 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
         var w =  this.image.getWidth();
         var h =  this.image.getHeight();
 
-        this.image.setWidth(w);
-        this.image.setHeight(h);
-        
         var pw = (this.imageSection.getWidth(true) - w) / 2;
         var ph = (this.imageSection.getHeight(true) - h) / 2;