// WORKAROUND FOR ISSUE: #873
kQuery(function($)
{
$.magnificPopup.instance._onFocusIn = function(e)
{
// Do nothing if target element is select2 input
if( $(e.target).hasClass('select2-search__field') ) {
return true;
}
// Else call parent method
$.magnificPopup.proto._onFocusIn.call(this,e);
};
});
kQuery(function($){
$('.k-ui-namespace .thumbnail').each(function(idx, el) {
var el = $(el);
var data = el.data('k-modal');
var options = {
"type": "image"
};
if (data) {
$.extend(true, options, data);
}
el.magnificPopup(options);
});
});
if (typeof Koowa === 'object' && Koowa !== null) {
if (typeof Koowa.translator === 'object' && Koowa.translator !== null) {
Koowa.translator.loadTranslations({"Play":"Riproduzione","View":"Vista","Open":"Apri"});
}
}
kQuery(function($) {
$('a.docman_download__button').downloadLabel({
"force_download": "0",
"gdocs_supported_extensions": [
"ogg",
"doc",
"docx",
"xls",
"xlsx",
"ppt",
"pptx",
"pages",
"ai",
"psd",
"tiff",
"dxf",
"svg",
"eps",
"ps",
"ttf",
"xps"
],
"gdocs_preview": 0
});
});document.documentElement.classList.add('k-js-enabled');