source: trunk/web/javascript/jquery/ @ 14005

Last change on this file since 14005 was 14005, checked in by jordan, 9 years ago

In Web Client, use jQuery.ajax() to upload files

If we use FormData? and jQuery.ajax() calls to upload a torrent,
we can stop bundling the jquery.form.js module. In addition, this
simplifies passing arguments in the headers s.t. rpc-server.c doesn't
have to look for the CSRF token as one of the multiparts.

This changes the upload POST behavior, so give it a new name (upload2).
The old function (upload) will be deprecated but kept until 2.90 so
that third-party web clients using the old POST semantics will have
time to update.

Bug #5290 <>

File size: 189 bytes
1datadir = ${datarootdir}/${PACKAGE_NAME}/${subdir}
3dist_data_DATA = \
4  jqueryui-1.8.16.min.js \
5  jquery.min.js \
6  jquery.contextmenu.min.js \
7  jquery.transmenu.min.js \
8  json2.min.js
Note: See TracBrowser for help on using the repository browser.