//popover
$(function () {
$('[data-toggle="popover"]').popover();
});
$('.popover-dismiss').popover({
trigger: 'hover'
});
$(function() {
$("a.ahrefConfirm").click(function(e) {
e.preventDefault();
var target = $(this).attr("href");
var content = $(this).attr("atitle");
var title = $(this).attr("alt");
$('
' + content + '
'). dialog({
draggable: false,
modal: true,
resizable: false,
width: 'auto',
title: title,
buttons: {
"áno": function() {
window.location.href = target;
},
"nie": function() {
$(this).dialog("close");
}
}
});
});
});
$(function() {
$('input[id^="submitConfirm-"]').click(function(e){
e.preventDefault();
var content = $(this).attr("value");
var title = $(this).attr("name");
var dataFormID = $(this).attr("dataFormID");
$('' + content + '
'). dialog({
draggable: false,
modal: true,
resizable: false,
width: 'auto',
title: content,
buttons: {
"áno": function() {
$("#formConfirm-"+ dataFormID).append(' ').submit()
},
"nie": function() {
$(this).dialog("close");
}
}
});
});
});
$(function() {
$('button[id^="submitConfirm-"]').click(function(e){
e.preventDefault();
var content = $(this).attr("value");
var title = $(this).attr("name");
var dataFormID = $(this).attr("dataFormID");
$('' + content + '
'). dialog({
draggable: false,
modal: true,
resizable: false,
width: 'auto',
title: content,
buttons: {
"áno": function() {
$("#formConfirm-"+ dataFormID).append(' ').submit()
},
"nie": function() {
$(this).dialog("close");
}
}
});
});
});
document.addEventListener('DOMContentLoaded', function(event) {
cookieChoices.showCookieConsentBar('Súbory cookie používame na zlepšenie vašej skúsenosti s používaním našej webovej lokality. Ďalším prehliadaním tejto webovej lokality súhlasíte s použitím súborov cookie. ',
'OK ROZUMIEM', 'Ďalšie informácie', '?action=page_zoou');
});
$('[id^=noAlertSave]').click(function() {
unsaved = false;
});