map.htm edited online with Bitbucket
This commit is contained in:
parent
7c3064e8b2
commit
ca70191582
|
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
@ -68,13 +68,13 @@
|
||||||
|
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
|
|
||||||
alert('ok' + data);
|
//alert('ok' + data);
|
||||||
//curentObj.Id = data;
|
//curentObj.Id = data;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
error: function (XMLHttpRequest, textStatus, errorThrown) {
|
||||||
alert("Ошибка - " + XMLHttpRequest.responseText);
|
alert("Ошибка - " + decodeURI(XMLHttpRequest.responseText));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue