diff --git a/public/map.htm b/public/map.htm index 8aec949..6bb869a 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() } @@ -68,13 +68,13 @@ success: function (data) { - alert('ok' + data); + //alert('ok' + data); //curentObj.Id = data; }, error: function (XMLHttpRequest, textStatus, errorThrown) { - alert("Ошибка - " + XMLHttpRequest.responseText); + alert("Ошибка - " + decodeURI(XMLHttpRequest.responseText)); } }); }