projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6cc661
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Mon, 14 Mar 2016 04:18:32 +0000
(12:18 +0800)
committer
edward
<edward@roojs.com>
Mon, 14 Mar 2016 04:18:32 +0000
(12:18 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
69f0614
..
7dcb8eb
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-973,7
+973,9
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
this.cropData = canvas.toDataURL(this.cropType);
- this.fireEvent('crop', this, this.cropData);
+ if(this.fireEvent('crop', this, this.cropData) !== false){
+ this.process(this.file, this.cropData);
+ }
return;