Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Thu, 18 Feb 2016 04:28:21 +0000 (12:28 +0800)
committeredward <edward@roojs.com>
Thu, 18 Feb 2016 04:28:21 +0000 (12:28 +0800)
Roo/bootstrap/UploadCropbox.js

index 0b59b1a..29abcc7 100644 (file)
@@ -241,19 +241,19 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
     {
         switch (type) {
             case 'rotate-left' :
-                this.onRotateLeft();
+                this.onRotateLeft(e);
                 break;
             case 'rotate-right' :
-                this.onRotateRight();
+                this.onRotateRight(e);
                 break;
             case 'picture' :
-                this.beforeSelectFile();
+                this.beforeSelectFile(e);
                 break;
             case 'trash' :
-                this.trash();
+                this.trash(e);
                 break;
             case 'save' :
-                this.save();
+                this.save(e);
                 break;
             default :
                 break;