JavaScript muss aktiviert sein um die volle Funktionalität der Community nutzen zu können.
\\n\\t\\t\\t\\t\\t\\tDésolé, mais il est impossible d'exécuter l'action requise.\\n\\t\\t\\t\\t\\t<\\/p>\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\n\\t\\t\\t\\t\\n\\t\\t\\t<\\/div>\\n\\n\\t\\t\\t\\n\\t\\t<\\/div>\";LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e622af9b3', 'disableAutoComplete', '#ajaxfeedback_27c70e61fe5a2f_0', 'LITHIUM:ajaxError', {}, 'd_PCXsL74NAROTDzfNJ5nTOMMzqmTZEZRnEUjaKYDVE.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_27c70e61fe5a2f_0","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.messagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche...","emptyText":"Aucune correspondance","successText":"Résultats :","defaultText":"Entrez un mot à rechercher","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e6273166d', 'disableAutoComplete', '#ajaxfeedback_27c70e61fe5a2f_0', 'LITHIUM:ajaxError', {}, 'LM2Z6_pWGw8_DSuB555osEULWP7n5bgdq5KWP0n9CnU.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_27c70e61fe5a2f_1","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche d'utilisateurs...","emptyText":"Aucune correspondance","successText":"Utilisateurs trouvés :","defaultText":"Entrez un nom d'utilisateur ou un classement","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e6290e27a', 'disableAutoComplete', '#ajaxfeedback_27c70e61fe5a2f_0', 'LITHIUM:ajaxError', {}, '3sulmCYrv2mUrr4Fr7xW5exanaXOXZCs7pV7USp-9_4.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_27c70e61fe5a2f","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.usersearchfield.usersearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_27c70e61fe5a2f","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_27c70e61fe5a2f_0","url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.usersearchfield:userexistsquery?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"SXUqrZ0zVQfbJF8zw94Lk3XDkjDHqbuxViir7nrDQl0."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche...","emptyText":"Aucune correspondance","successText":"Résultats :","defaultText":"Entrez un mot à rechercher","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e62ae7d76', 'disableAutoComplete', '#ajaxfeedback_27c70e61fe5a2f_0', 'LITHIUM:ajaxError', {}, 'wXNiCsj75bBVqHwHOF_4xuGrSiWBVFCo0ybi-4myCt0.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_27c70e61fe5a2f_0","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.notesearchfield.notesearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche...","emptyText":"Aucune correspondance","successText":"Résultats :","defaultText":"Entrez un mot à rechercher","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e62c99f4d', 'disableAutoComplete', '#ajaxfeedback_27c70e61fe5a2f_0', 'LITHIUM:ajaxError', {}, 'DzsIqhf6JRZZSjX6RjDvY9pAAN2kKUAz8Qq-6VMw0DQ.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_27c70e61fe5a2f","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.productsearchfield.productsearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_27c70e61fe5a2f', 'enableAutoComplete', '#ajaxfeedback_27c70e61fe5a2f_0', 'LITHIUM:ajaxError', {}, 'KNnnpS9Z5-mmpQhVz932CMY_zlQ02GRMLnubbrujOCM.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_27c70e61fe5a2f","tooltipContentSelector":"#link_27c70e61fe5a2f_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_27c70e61fe5a2f_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_27c70e61fe5a2f","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV3_27c70e61fe5a2f","nodesModel":{"community_fr|category":{"title":"Recherche dans Communauté : Base de connaissances TV","inputSelector":".lia-search-input-message"},"tkb_tv_fr|tkb-board":{"title":"Recherche dans Base de connaissances : Base de connaissances TV","inputSelector":".lia-search-input-message"},"user|user":{"title":"Utilisateurs","inputSelector":".lia-search-input-user"},"tv_fr|category":{"title":"Recherche dans Catégorie : Base de connaissances TV","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_27c70e61fe5a2f_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); ;(function($){ var $toggle = $('.js-toggle-cmp-search'); var $search = $('.cmp-search'); var $close = $('.js-close-cmp-search'); var $overlay = $('.cmp-search-overlay'); var $input = $('.cmp-search .lia-search-input-message'); var $inputLabel = $('.cmp-search__input-label'); $toggle.on('click', function() { if ($search.hasClass('closed')) { $search.removeClass('closed'); $search.addClass('opened'); $overlay.removeClass('hidden'); $overlay.addClass('visible'); $input.focus(); } else if ($search.hasClass('opened')) { $search.removeClass('opened'); $search.addClass('closed'); $overlay.removeClass('visible'); $overlay.addClass('hidden'); } }); $close.on('click', function() { $search.removeClass('opened'); $search.addClass('closed'); $overlay.removeClass('visible'); $overlay.addClass('hidden'); }); // Check for the change of a class. Lithium uses Angular, so this happens. (function(){ var originalAddClassMethod = jQuery.fn.addClass; jQuery.fn.addClass = function(){ // Execute the original method. var result = originalAddClassMethod.apply( this, arguments ); // trigger a custom event jQuery(this).trigger('cssClassChanged'); // return the original result return result; } })(); $(function(){ $('.cmp-search .lia-autocomplete-container').bind('cssClassChanged', function(){ if ( $('.cmp-search .lia-autocomplete-container').hasClass('lia-autocomplete-has-results') ) { $('.cmp-search__new-question').addClass('visible'); } else if ( $('.cmp-search .lia-autocomplete-container').hasClass('lia-autocomplete-has-results') == false ) { $('.cmp-search__new-question').removeClass('visible'); } }); }); $('.lia-form-type-text.lia-autocomplete-input.search-input.lia-search-input-message').attr('placeholder', "Afficher les résultats de la zone Base de connaissances TV"); $('.custom_pageTitle .lia-form-type-text.lia-autocomplete-input.search-input.lia-search-input-message').attr('placeholder', "Recherche un terme ou ta question"); $('.cmp-featured-content-header__searchbar .lia-form-type-text.lia-autocomplete-input.search-input.lia-search-input-message').attr('placeholder', "Recherche un terme ou ta question"); // Get the searchfields ID and assign it to its label var searchFieldId = $('.lia-form-type-text.lia-autocomplete-input.search-input.lia-search-input-message').attr('id'); $inputLabel.attr('for', searchFieldId); // Check if the search field is focused and make the label visible $('[name="messageSearchField"]').on('focus blur', function(e) { // Move the input label above the search input $inputLabel.insertBefore('.lia-autocomplete-header'); }).trigger('blur'); })(LITHIUM.jQuery); LITHIUM.Form.resetFieldForFocusFound(); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_27c70e63b05c49","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_27c70e63b05c49_0","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_27c70e63b05c49_1","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_27c70e63b05c49_2","feedbackSelector":".InfoMessage"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche...","emptyText":"Aucune correspondance","successText":"Résultats :","defaultText":"Entrez un mot à rechercher","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e63d4bb92', 'disableAutoComplete', '#ajaxfeedback_27c70e63b05c49_0', 'LITHIUM:ajaxError', {}, 'UB3tyn83ecch40NihXID1mfE-cNdUUZzDnao6atj8B4.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_27c70e63b05c49_0","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.messagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche...","emptyText":"Aucune correspondance","successText":"Résultats :","defaultText":"Entrez un mot à rechercher","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e63ef6247', 'disableAutoComplete', '#ajaxfeedback_27c70e63b05c49_0', 'LITHIUM:ajaxError', {}, 'pbTM7eFHec47zjLlEfFN39wAvcVezgXbSj0lgHy7hvg.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_27c70e63b05c49_1","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche d'utilisateurs...","emptyText":"Aucune correspondance","successText":"Utilisateurs trouvés :","defaultText":"Entrez un nom d'utilisateur ou un classement","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e640b7fd7', 'disableAutoComplete', '#ajaxfeedback_27c70e63b05c49_0', 'LITHIUM:ajaxError', {}, '2scqr9MBtKxH-gq_sa35UdcNweTvKzQmG8tIA9en-uY.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField_27c70e63b05c49","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.usersearchfield.usersearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_27c70e63b05c49","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_27c70e63b05c49_0","url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.usersearchfield:userexistsquery?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"Gp2JT0NlRF1pqsI5EpJRm9GwQeTuFyJxlAfR7lYcp7E."}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche...","emptyText":"Aucune correspondance","successText":"Résultats :","defaultText":"Entrez un mot à rechercher","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e64294d50', 'disableAutoComplete', '#ajaxfeedback_27c70e63b05c49_0', 'LITHIUM:ajaxError', {}, 'oFr1fJwcOTJxL01CYbvV-jE3XcPXimdvJpz_0zb2I4w.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_27c70e63b05c49_0","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.notesearchfield.notesearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AutoComplete({"options":{"triggerTextLength":0,"updateInputOnSelect":true,"loadingText":"Recherche...","emptyText":"Aucune correspondance","successText":"Résultats :","defaultText":"Entrez un mot à rechercher","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_27c70e64430b7f', 'disableAutoComplete', '#ajaxfeedback_27c70e63b05c49_0', 'LITHIUM:ajaxError', {}, 'HfqZCrBALivLg-IVcJ7-qonSIOBO3uiCQ3SJIM7wa6Q.', 'ajax');","content":"Désactiver les suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_27c70e63b05c49","redirectToItemLink":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.searchformv3.productsearchfield.productsearchfield:autocomplete?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); LITHIUM.AjaxSupport.fromLink('#enableAutoComplete_27c70e63b05c49', 'enableAutoComplete', '#ajaxfeedback_27c70e63b05c49_0', 'LITHIUM:ajaxError', {}, '76CiO09iN-PlRzJPDV0XKuRquApiiy_ErpHtnTK-j9E.', 'ajax'); LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_27c70e63b05c49","tooltipContentSelector":"#link_27c70e63b05c49_0-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_27c70e63b05c49_0-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true}); LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle_27c70e63b05c49","enableAutoCompleteSelector":".search-autocomplete-toggle-link","enableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:enableAutoComplete","disableAutoCompleteSelector":".lia-autocomplete-toggle-off","disableAutocompleteSuccessEvent":"LITHIUM:ajaxSuccess:disableAutoComplete","autoCompleteSelector":".lia-autocomplete-input"}); LITHIUM.SearchForm({"asSearchActionIdSelector":".lia-as-search-action-id","useAutoComplete":true,"selectSelector":".lia-search-form-granularity","useClearSearchButton":false,"buttonSelector":".lia-button-searchForm-action","asSearchActionIdParamName":"as-search-action-id","formSelector":"#lia-searchformV3_27c70e63b05c49","nodesModel":{"community_fr|category":{"title":"Recherche dans Communauté : Base de connaissances TV","inputSelector":".lia-search-input-message"},"tkb_tv_fr|tkb-board":{"title":"Recherche dans Base de connaissances : Base de connaissances TV","inputSelector":".lia-search-input-message"},"user|user":{"title":"Utilisateurs","inputSelector":".lia-search-input-user"},"tv_fr|category":{"title":"Recherche dans Catégorie : Base de connaissances TV","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_27c70e63b05c49_0:not(.lia-js-hidden)","clearSearchButtonSelector":null}); ;(function($){ $('.nav-hamburger').on('click', function() { $(this).toggleClass('is-open'); $('.cmp-header').toggleClass('mobile-nav-open'); }); $('.cmp-nav__link').on('click', function(event) { // If the header has the `mobile-nav-open` class, then it’s a small screen if ( $('.cmp-header').hasClass('mobile-nav-open') ) { $(event.currentTarget).toggleClass('is-open'); $(event.currentTarget).siblings('.cmp-nav__nav-level-2').toggleClass('visible'); } else { // get submenu of the clicked navigation node var $submenu = $(this).siblings('.cmp-nav__nav-level-2'); // check if the submenu of the clicked node is already open if ( $submenu.hasClass( 'is-open' ) ) { // close submenu $submenu.removeClass( 'visible is-open' ); $(this).removeClass( 'is-open' ); } else { // remove open class from all submenu (close them) $( '.cmp-nav__nav-level-2' ).removeClass( 'visible is-open' ); $( '.cmp-nav__link' ).removeClass('is-open'); // add is-open class to clicked node's submenu (open it) $submenu.addClass( 'visible is-open' ); // add open class to navigation link $(this).addClass('is-open'); } // add overlay to make menu closable by clicking anywhere on the page $('.cmp-nav__overlay').addClass( 'visible' ); // old code: //$(this).siblings('.cmp-nav__nav-level-2').addClass('visible is-open'); } }); $('.cmp-nav__overlay').on('click', function() { $(this).removeClass('visible'); $('.cmp-nav__nav-level-2').removeClass('visible is-open'); $('.cmp-nav__link').removeClass('is-open'); $('.cmp-nav__body').removeClass('dropdown-open'); }); // Replace the word “Search” with an icon. /*$('.cmp-nav__mobile-search').find('.lia-button-searchForm-action').attr({ value: "", // Add label so it’s still accessible 'aria-label': 'Chercher' });*/ $('.cmp-nav__mobile-search .lia-button-searchForm-action').each(function() { var $el = $(this); $el.val('').attr('aria-label', 'Chercher'); $el.wrap(''); }); })(LITHIUM.jQuery); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"}); LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"}); // LITHIUM.PartialRenderProxy({"limuirsComponentRenderedEvent":"LITHIUM:limuirsComponentRendered","relayEvent":"LITHIUM:partialRenderProxyRelay","listenerEvent":"LITHIUM:partialRenderProxy"}); LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:partialRenderProxyRelay","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":document,"action":"partialRenderProxyRelay","feedbackSelector":false,"url":"https://community.swisscom.ch/t5/tkb/v2/page.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=blog-id/tkb_tv_fr/q-p/dHlwZTpsYWJlbDo6bGFiZWxzOlV0aWxpc2F0aW9uJTJDUGFyYW0lQzMlQTh0cmVzJTJDU3dpc3Njb20rVFYlMkNDb25zZWlscyUyQ1QlQzMlQTlsJUMzJUE5Y29tbWFuZGUlMkNVSEQrVFYtQm94JTJDVXRpbGlzYXRpb24rYXZlYytUVi1Cb3g.","ajaxErrorEventName":"LITHIUM:ajaxError","token":"pDUJ8-yDXYxjKLo8ClXuIttUGG73dpUt_Q75JiAABnk."}); LITHIUM.Auth.API_URL = '/t5/util/authcheckpage'; LITHIUM.Auth.LOGIN_URL_TMPL = '/plugins/custom/swisscom/swisscom_sso/sso_login_redirect?action=login&claims=ew0KICAgICJyZXF1ZXN0ZWRFbWFpbEFkZHJlc3MiIDogdHJ1ZQ0KfQ%3D%3D&L=fr&RURL=https%3A%2F%2FREPLACE_TEXT'; LITHIUM.Auth.KEEP_ALIVE_URL = '/t5/status/blankpage?keepalive'; LITHIUM.Auth.KEEP_ALIVE_TIME = 180000; LITHIUM.Auth.CHECK_SESSION_TOKEN = '2yRObgQNDIS-unVUR1mQ4JaTqTbJVSPzmaAyoLRJrtE.'; LITHIUM.AjaxSupport.useTickets = false; LITHIUM.Loader.runJsAttached(); // -->