projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c10325
)
Roo/dialog/UploadCropbox.js
author
leon
<leon@roojs.com>
Mon, 11 Jul 2022 05:23:06 +0000
(13:23 +0800)
committer
leon
<leon@roojs.com>
Mon, 11 Jul 2022 05:23:06 +0000
(13:23 +0800)
Roo/dialog/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/dialog/UploadCropbox.js
b/Roo/dialog/UploadCropbox.js
index
ae9a418
..
b8ed966
100644
(file)
--- a/
Roo/dialog/UploadCropbox.js
+++ b/
Roo/dialog/UploadCropbox.js
@@
-1356,7
+1356,9
@@
Roo.extend(Roo.dialog.UploadCropbox, Roo.Component, {
for(var i = 0; i < blobBin.length; i++) {
array.push(blobBin.charCodeAt(i));
}
- var file=new Blob([new Uint8Array(array)], {type: 'image/png'});
+ var croppedFile =new Blob([new Uint8Array(array)], {type: 'image/png'});
+ console.log("CROPPED FILE");
+ console.log(croppedFile);
}
if(typeof(file) != 'undefined' && (typeof(file.id) == 'undefined' || file.id * 1 < 1)){