4
document.location.search.replace(/\??(?:([^=]+)=([^&]*)&?)/g, function () {
6
return decodeURIComponent(s.split("+").join(" "));
9
$_GET[decode(arguments[1])] = decode(arguments[2]);
12
var dropbox = $('#dropbox'),
13
message = $('.message', dropbox);
16
// The name of the $_FILES entry:
19
url: '../../../uploadfile/'+$('input[name="cid"]').val()+'/'+$('input[name="example"]').val()+'/'+$('input[name="page"]').val(),
21
uploadFinished:function(i,file,response){
22
$('.progress').addClass('done');
23
$('#flist').append("<li>"+file.name+"</li>")
27
error: function(err, file) {
29
case 'BrowserNotSupported':
30
showMessage('Your browser does not support HTML5 file uploads!');
37
// Called before each upload is started
38
beforeEach: function(file){
42
uploadStarted:function(i, file, len){
46
progressUpdated: function(i, file, progress) {
47
$('.progress').width(progress);
53
function showMessage(msg){
b'\\ No newline at end of file'