Report 2020

Report 2019

// 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($){ $('[data-k-modal]').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); }); }); kQuery(function($) { var addHiddenFields = function(button) { var field, i = 0, fields = ['.k-js-tag-search', '.k-js-category-search']; for (; i < fields.length; i++) { field = $(fields[i]); if (field.length && !field.val()) { var input = $('') .attr('name', field.attr('name').replace('[]', '')) .val(''); $(button[0].form).append(input); } } }; $('.k-js-search-submit').click(function() { addHiddenFields($(this)); }); $('.k-js-search-reset').click(function(event) { event.preventDefault(); var button = $(this), form = button[0].form; $('.k-filters') .find('input:not(:checkbox), textarea').val('').end() .find('select').val(null).trigger('change'); addHiddenFields(button); $(form).append($('').val('1') .attr('name', 'filter[reset]')); form.submit(); }); }); 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 }); }); jQuery(document).ready(function(){WFMediaBox.init({"base":"\/","theme":"standard","mediafallback":0,"mediaselector":"audio,video","width":"","height":"","lightbox":0,"shadowbox":0,"icons":1,"overlay":1,"overlay_opacity":0.8,"overlay_color":"#000000","transition_speed":500,"close":2,"scrolling":"fixed","labels":{"close":"Close","next":"Next","previous":"Previous","cancel":"Cancel","numbers":"{{numbers}}","numbers_count":"{{current}} of {{total}}"}});}); jQuery(function($){ initTooltips(); $("body").on("subform-row-add", initTooltips); function initTooltips (event, container) { container = container || document;$(container).find(".hasTooltip").tooltip({"html": true,"container": "body"});} });document.documentElement.classList.add('k-js-enabled');