Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions croppic.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
processInline: false,
loadPicture:'',
onReset: null,
enableMousescroll: false,
enableMousescroll: false,
headers: {},

//callbacks
onBeforeImgUpload: null,
Expand Down Expand Up @@ -221,7 +222,8 @@
cache: false,
contentType: false,
processData: false,
type: 'POST'
type: 'POST',
headers: that.options.headers
}).always(function(data){
response = typeof data =='object' ? data : jQuery.parseJSON(data);
if(response.status=='success'){
Expand Down Expand Up @@ -612,7 +614,8 @@
cache: false,
contentType: false,
processData: false,
type: 'POST'
type: 'POST',
headers: that.options.headers
}).always(function(data){
response = typeof data =='object' ? data : jQuery.parseJSON(data);

Expand Down
Loading