Set image-owner to all authers with js-upload (#264)
This commit is contained in:
@ -1426,6 +1426,7 @@ $(function() {
|
||||
data.append('serendipity[adminAction]', 'add');
|
||||
data.append('serendipity[token]', $('input[name*="serendipity[token]"]').val());
|
||||
data.append('serendipity[target_filename][1]', $('input[name*="serendipity[target_filename][1]"]').val());
|
||||
data.append('serendipity[all_authors]', true);
|
||||
var type = file.type;
|
||||
if (type == "image/bmp") {
|
||||
{* bmp is not supported *}
|
||||
|
Reference in New Issue
Block a user