Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var attZone = new FileDrop('fdzone');
- // FileList is a simple array-like object
- // with many useful File-related methods:
- var activeUpload = new fd.FileList;
- attZone.multiple(true);
- attZone.event('send', function (files) {
- files.each(function (file) {
- file.event('done', function (xhr) {
- var resp = JSON.parse(xhr.response).d;
- CheckinArticleAttachment(resp).done(UpdateArticleAttachmentList());
Add Comment
Please, Sign In to add comment