mirror of
https://github.com/colymba/GridFieldBulkEditingTools.git
synced 2024-10-22 11:05:57 +02:00
FIX #9 check for other url parameters on delete
This commit is contained in:
parent
67958b4e37
commit
6039f6c42a
@ -151,12 +151,14 @@
|
||||
|
||||
var url = $(this).data('url');
|
||||
var cacheBuster = new Date().getTime();
|
||||
if ( url.indexOf('?') !== -1 ) cacheBuster = '&cacheBuster=' + cacheBuster;
|
||||
else cacheBuster = '?cacheBuster=' + cacheBuster;
|
||||
|
||||
$('form.bulkImageUploadUpdateForm').each(function(){
|
||||
var data = $(this).serialize();
|
||||
|
||||
$.ajax({
|
||||
url: url + '?cacheBuster=' + cacheBuster,
|
||||
url: url + cacheBuster,
|
||||
data: data,
|
||||
type: "POST",
|
||||
context: $(this)
|
||||
|
Loading…
Reference in New Issue
Block a user