This commit is contained in:
Rémi Gaillard
2013-08-29 17:21:27 +02:00
parent 51083e17af
commit 08b8277a7a
+2 -2
View File
@@ -26,9 +26,9 @@
function ajaxStates (id_state_selected) function ajaxStates (id_state_selected)
{ {
$.ajax({ $.ajax({
url: "ajax.php", url: "index.php",
cache: false, 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) success: function(html)
{ {
if (html == 'false') if (html == 'false')