map.htm edited online with Bitbucket
This commit is contained in:
parent
ca70191582
commit
f3ff50b61d
|
|
@ -50,7 +50,7 @@
|
||||||
img: $('#img').val(),
|
img: $('#img').val(),
|
||||||
description: $('#description').val(),
|
description: $('#description').val(),
|
||||||
source: $('#source').val(),
|
source: $('#source').val(),
|
||||||
// categoryId: $('#categoryId').val(),
|
categoryId: $('#categoryId').val(),
|
||||||
lat: $('#currentLat').val(),
|
lat: $('#currentLat').val(),
|
||||||
lng: $('#currentLng').val()
|
lng: $('#currentLng').val()
|
||||||
}
|
}
|
||||||
|
|
@ -60,7 +60,7 @@
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
|
|
||||||
url: "http://wikipoints.ru/json/addpoint",
|
url: "/json/addpoint",
|
||||||
|
|
||||||
data: responsQuerry,
|
data: responsQuerry,
|
||||||
|
|
||||||
|
|
@ -74,7 +74,7 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||||
alert("Ошибка - " + decodeURI(XMLHttpRequest.responseText));
|
alert("Ошибка - " + XMLHttpRequest.responseText);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue