projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b1a72
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Tue, 19 Jan 2016 08:13:37 +0000
(16:13 +0800)
committer
edward
<edward@roojs.com>
Tue, 19 Jan 2016 08:13:37 +0000
(16:13 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
2dedc16
..
c0fa2d4
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-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;