Roo/bootstrap/UploadCropbox.js
authoredward <edward@roojs.com>
Tue, 19 Jan 2016 07:18:54 +0000 (15:18 +0800)
committeredward <edward@roojs.com>
Tue, 19 Jan 2016 07:18:54 +0000 (15:18 +0800)
Roo/bootstrap/UploadCropbox.js

index b69c437..70fc4ac 100644 (file)
@@ -128,19 +128,19 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
         this.thumb.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
         
         
-//        
-//        this.footerSection = this.el.select('.roo-upload-cropbox-footer-section', true).first();
-//        this.footerSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
-//        
-//        this.rotateLeft = this.el.select('.roo-upload-cropbox-rotate-left', true).first();
-//        this.rotateLeft.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
-//        
-//        this.pictureBtn = this.el.select('.roo-upload-cropbox-picture', true).first();
-//        this.pictureBtn.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
-//        
-//        this.rotateRight = this.el.select('.roo-upload-cropbox-rotate-right', true).first();
-//        this.rotateRight.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
-//  
+        
+        this.footerSection = this.el.select('.roo-upload-cropbox-footer-section', true).first();
+        this.footerSection.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
+        
+        this.rotateLeft = this.el.select('.roo-upload-cropbox-rotate-left', true).first();
+        this.rotateLeft.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
+        
+        this.pictureBtn = this.el.select('.roo-upload-cropbox-picture', true).first();
+        this.pictureBtn.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
+        
+        this.rotateRight = this.el.select('.roo-upload-cropbox-rotate-right', true).first();
+        this.rotateRight.setVisibilityMode(Roo.Element.DISPLAY).originalDisplay = 'block';
+  
         this.bind();
     },
 //    
@@ -162,7 +162,7 @@ Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component,  {
 //        
 //        this.pictureBtn.on('click', this.beforeSelectFile, this);
 //        
-//        this.rotateLeft.on('click', this.onRotateLeft, this);
+        this.rotateLeft.on('click', this.onRotateLeft, this);
 //        
 //        this.rotateRight.on('click', this.onRotateRight, this);