From ba3ddf01ff58f4e223c48949ca522b91e7fcec0a Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 9 Jan 2017 14:07:03 +0100 Subject: [PATCH] feature #593, use the standard pwg_token available in the form --- admin/themes/default/js/batchManagerGlobal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/themes/default/js/batchManagerGlobal.js b/admin/themes/default/js/batchManagerGlobal.js index ce483204f..27c80103d 100644 --- a/admin/themes/default/js/batchManagerGlobal.js +++ b/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 },