From f3ff50b61da5f02f1853afad4987408106cfcf2e Mon Sep 17 00:00:00 2001 From: Hain_31 Date: Wed, 9 Apr 2014 14:03:43 +0000 Subject: [PATCH] map.htm edited online with Bitbucket --- public/map.htm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/map.htm b/public/map.htm index 6bb869a..7ad62ee 100644 --- a/public/map.htm +++ b/public/map.htm @@ -50,7 +50,7 @@ img: $('#img').val(), description: $('#description').val(), source: $('#source').val(), - // categoryId: $('#categoryId').val(), + categoryId: $('#categoryId').val(), lat: $('#currentLat').val(), lng: $('#currentLng').val() } @@ -60,7 +60,7 @@ $.ajax({ type: 'POST', - url: "http://wikipoints.ru/json/addpoint", + url: "/json/addpoint", data: responsQuerry, @@ -74,7 +74,7 @@ }, error: function (XMLHttpRequest, textStatus, errorThrown) { - alert("Ошибка - " + decodeURI(XMLHttpRequest.responseText)); + alert("Ошибка - " + XMLHttpRequest.responseText); } }); }