FIX #9 check for other url parameters on delete

This commit is contained in:
colymba 2013-01-17 23:35:44 +02:00
parent 67958b4e37
commit 6039f6c42a

View File

@ -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)