Roo/dialog/UploadCropbox.js
[roojs1] / Roo / dialog / UploadCropbox.js
index 77d93d4..3176abf 100644 (file)
@@ -666,7 +666,7 @@ Roo.extend(Roo.dialog.UploadCropbox, Roo.Component,  {
         Roo.log("old canvas width: " + this.canvasEl.width);
         Roo.log("old canvas height: " + this.canvasEl.height);
 
-        Roo.log("scale level: " + newCanvasHeight * this.minWidth / this.minHeight - newCanvasWidth);
+        Roo.log("scale level: " + (newCanvasHeight * this.minWidth / this.minHeight - newCanvasWidth));
         Roo.log("new canvas width: " + newCanvasWidth);
         Roo.log("new canvas height: " + newCanvasHeight);