Permalink
Browse files

feature #593, use the standard pwg_token available in the form

  • Loading branch information...
1 parent e6e7465 commit ba3ddf01ff58f4e223c48949ca522b91e7fcec0a @plegall plegall committed Jan 9, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/themes/default/js/batchManagerGlobal.js
@@ -280,7 +280,7 @@ jQuery('#applyAction').click(function(e) {
url: 'ws.php?format=json',
data: {
method: "pwg.images.delete",
- pwg_token: wm_pwg_token,
+ pwg_token: jQuery("input[name=pwg_token").val(),
return_details: true,
image_id: image_ids
},

0 comments on commit ba3ddf0

Please sign in to comment.