|
|
@ -65,7 +65,13 @@ function rcmail_zipdownload(mode)
|
|
|
|
post._token = rcmail.env.request_token;
|
|
|
|
post._token = rcmail.env.request_token;
|
|
|
|
|
|
|
|
|
|
|
|
$.each(post, function(k, v) {
|
|
|
|
$.each(post, function(k, v) {
|
|
|
|
inputs.push($('<input>').attr({type: 'hidden', name: k, value: v}));
|
|
|
|
if (typeof v == 'object' && v.length > 1) {
|
|
|
|
|
|
|
|
for (var j=0; j < v.length; j++)
|
|
|
|
|
|
|
|
inputs.push($('<input>').attr({type: 'hidden', name: k+'[]', value: v[j]}));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else {
|
|
|
|
|
|
|
|
inputs.push($('<input>').attr({type: 'hidden', name: k, value: v}));
|
|
|
|
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if (!form.length)
|
|
|
|
if (!form.length)
|
|
|
|