Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Wed, 20 Jan 2016 07:49:11 +0000 (15:49 +0800)
committeredward <edward@roojs.com>
Wed, 20 Jan 2016 07:49:11 +0000 (15:49 +0800)
Roo/bootstrap/UploadCropbox.js

index c9e1ed9..5b946ed 100644 (file)
@@ -284,8 +284,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
             return;
         }
         
-        Roo.log(ratio);
-        this.ratio = ratio;
+        this.scale = scale;
         
         this.image.setWidth(width);
         this.image.setHeight(height);