//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: {
"igen": function() {
window.location.href = target;
},
"nem": 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: {
"igen": function() {
$("#formConfirm-"+ dataFormID).append(' ').submit()
},
"nem": 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: {
"igen": function() {
$("#formConfirm-"+ dataFormID).append(' ').submit()
},
"nem": function() {
$(this).dialog("close");
}
}
});
});
});
document.addEventListener('DOMContentLoaded', function(event) {
cookieChoices.showCookieConsentBar('A weboldalon cookie-kat használunk, amik segítenek minket a lehető legjobb szolgáltatások nyújtásában. Weboldalunk további használatával jóváhagyja, hogy cookie-kat használjunk.',
'OK megértettem', 'További információk', '?action=page_zoou');
});
$('[id^=noAlertSave]').click(function() {
unsaved = false;
});