FIX отображение подсказки - как пользоваться - на разных страницах

This commit is contained in:
Krivchikov Dmitry 2015-12-05 11:28:42 +03:00
parent 8c24272371
commit 9a3c31ecfa
2 changed files with 12 additions and 12 deletions

View File

@ -499,3 +499,15 @@ function initFotorama(selector, data){
}); });
} }
} }
function showArticle(id)
{
$.ajax({
url: "/json/article/id/" + id,
success: function (data) {
$('#articleModal').modal('hide').remove();
$('body').append($(data));
$('#articleModal').modal('show');
}
});
}

View File

@ -331,18 +331,6 @@ function setLayer(name)
$.cookie('mapLayer', layer); $.cookie('mapLayer', layer);
} }
function showArticle(id)
{
$.ajax({
url: "/json/article/id/" + id,
success: function (data) {
$('#articleModal').modal('hide').remove();
$('body').append($(data));
$('#articleModal').modal('show');
}
});
}
function showPointagreement() function showPointagreement()
{ {
$.ajax({ $.ajax({