This commit is contained in:
Rémi Gaillard
2013-08-29 17:21:27 +02:00
parent 51083e17af
commit 08b8277a7a
+3 -3
View File
@@ -26,9 +26,9 @@
function ajaxStates (id_state_selected)
{
$.ajax({
url: "ajax.php",
url: "index.php",
cache: false,
data: "ajaxStates=1&no_empty=1&id_country="+$('#id_country').val() + "&id_state=" + $('#id_state').val(),
data: "token="+state_token+"&ajax=1&action=states&tab=AdminStates&no_empty=1&id_country="+$('#id_country').val() + "&id_state=" + $('#id_state').val(),
success: function(html)
{
if (html == 'false')
@@ -59,4 +59,4 @@ function ajaxStates (id_state_selected)
}
});
}
}
}