projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2c25f3
)
Roo/bootstrap/UploadCropbox.js
author
edward
<edward@roojs.com>
Mon, 14 Mar 2016 03:36:45 +0000
(11:36 +0800)
committer
edward
<edward@roojs.com>
Mon, 14 Mar 2016 03:36:45 +0000
(11:36 +0800)
Roo/bootstrap/UploadCropbox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/UploadCropbox.js
b/Roo/bootstrap/UploadCropbox.js
index
1dc5db1
..
6e74c8f
100644
(file)
--- a/
Roo/bootstrap/UploadCropbox.js
+++ b/
Roo/bootstrap/UploadCropbox.js
@@
-1205,7
+1205,7
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
return;
}
- file.xhr = this.xhr;
+
this.
file.xhr = this.xhr;
this.xhr.open(this.method, this.url, true);
@@
-1239,10
+1239,10
@@
Roo.extend(Roo.bootstrap.UploadCropbox, Roo.bootstrap.Component, {
formData.append('returnHTML', 'NO');
if(crop){
- formData.append('crop',
crop
);
+ formData.append('crop',
_this.cropData
);
}
- formData.append(this.paramName,
file,
file.name);
+ formData.append(this.paramName,
this.file, this.
file.name);
if(this.fireEvent('prepare', this, formData) != false){
this.xhr.send(formData);