Minimum Requirements for just Drag and Drop

187 views
Skip to first unread message

Mathias Weitz

unread,
Apr 8, 2014, 5:48:21 AM4/8/14
to jquery-f...@googlegroups.com
For the preliminary use i just need the drag and drop,
my last test had been with those files:

'js/blueimp/vendor/jquery.ui.widget.js',
'js/blueimp/fileupload-process.js',
'js/blueimp/main.js',
'js/blueimp/jquery.fileupload.js',
'js/blueimp/jquery.fileupload-image.js',



 and the plugin while it tries to retrieve something via XHR from the Server, i just get

%5Bobject%20Object%5D

if i comment out the js/blueimp/jquery.fileupload.js
the Plugin doesn't try to retrieve something from the backend,
but quits with a lot of error-messages:

SyntaxError: missing ; before statement

which refers to fileupload-image.js at the line with the processQueue


}(function ($, loadImage) {
 
'use strict';
 
 
// Prepend to the default processQueue:
 $
.blueimp.fileupload.prototype.options.processQueue.unshift(
 
{ action:

also i get a "$.blueimp is undefined".

I do think, i got the right set of js-files, and have just to tell the the plugin, that there is no backend to upload or download to.
I would like to have an example (with all needed JS-Files) for just the Drag and Drop part without any XHR.

And for just the case why you are wondering why i don't choose something just tailored for Drag and Drop, i presume the XHR-Part will be due somewhat later anyhow...



Reply all
Reply to author
Forward
0 new messages