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

This commit is contained in:
plegall
2017-01-09 14:07:03 +01:00
parent e6e7465b9d
commit ba3ddf01ff

View File

@@ -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
},