Permalink
Browse files

feature #593, send image_ids as a coma separated string

... instead of a list, because default behavior of web servers is to limit
the number of input fields and we don't want such a limit.
1 parent ba3ddf0 commit 3fb56511437d067e7b6023bd6eb6d0ec4c61aaf7 @plegall plegall committed Jan 9, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/themes/default/js/batchManagerGlobal.js
@@ -282,7 +282,7 @@ jQuery('#applyAction').click(function(e) {
method: "pwg.images.delete",
pwg_token: jQuery("input[name=pwg_token").val(),
return_details: true,
- image_id: image_ids
+ image_id: image_ids.join(',')
},
dataType: 'json',
success: ( function(data) { todo += data.result.details.nb_processed; progressDelete(todo, progressBar_max, data.result.success) }),

0 comments on commit 3fb5651

Please sign in to comment.