//
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"});
;(function($) {
function makeid()
{
var text = "";
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (var i = 0; i < 5; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
$(document).ready(function () {
$('body').on({
mouseenter: function(evt) {
if ($(this).parents('.lia-component-users-widget-menu').length > 0) {
return;
}
if ($(this).hasClass("disable-hovercard")) {
return;
}
if ($(this).parents('.lia-component-common-widget-slide-out-user-menu').length > 0) {
return;
}
evt.preventDefault();
evt.stopPropagation();
$('.hc-user-profile').removeClass('hc-animate-in hc-is-shown');
if ($('.hc-user-profile', this).length > 0) {
$('.hc-user-profile', this).addClass('hc-animate-in hc-is-shown');
return;
}
var unqId = makeid();
var userId = $(this).attr('href').substring($(this).attr('href').lastIndexOf("/")+1, $(this).attr('href').length);
var divContainer = $('');
$(this).append(divContainer);
$(divContainer).addClass('hc-animate-in hc-is-shown');
$.ajax({
url: '/plugins/custom/cisco/meraki/profile-card?tid=147210674298509244',
type: 'post',
dataType: 'html',
data: {"userId": userId, "unqId": unqId},
beforeSend: function() {},
success: function(data) {
$('.info-container', divContainer).append(data);
},
error: function() {
console.log('your error message should go here.');
$('.info-container', divContainer).append('
');
},
complete: function() {
$('.spinner', divContainer).remove();
}
});
},
mouseleave: function() {
$('.hc-user-profile').removeClass('hc-animate-in hc-is-shown');
}
}, 'a.lia-link-navigation.lia-page-link.lia-user-name-link,.UserAvatar.lia-link-navigation');
})
})(LITHIUM.jQuery);
;(function($) {
$(document).ready(function() {
var search_submit_span = $(".lia-search-input-field > .lia-button-wrapper.lia-button-wrapper-secondary.lia-button-wrapper-searchForm-action");
var search_autocomplete = $(".lia-search-input-field > input.lia-autocomplete-input")[0];
search_submit_span.insertAfter(search_autocomplete);
});
})(LITHIUM.jQuery);
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.meraki.com/t5/video/gallerypage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=video-id/M2MmxyZTE6arFThtuLzO_EBjz4v9U_OO","ajaxErrorEventName":"LITHIUM:ajaxError","token":"02pHIcTEb8T3Gwm2SMstHuAtDJRUgigmgpJgtJ0sK3o."});
LITHIUM.Auth.API_URL = "/t5/util/authcheckpage";
LITHIUM.Auth.LOGIN_URL_TMPL = "/plugins/common/feature/saml/doauth/post?referer=https%3A%2F%2FREPLACE_TEXT";
LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive";
LITHIUM.Auth.KEEP_ALIVE_TIME = 300000;
LITHIUM.Auth.CHECK_SESSION_TOKEN = 'NfBzXxAztS62Bs2TluIyEeyreFRokCreMP7eSUYjsOA.';
LITHIUM.AjaxSupport.useTickets = false;
LITHIUM.Loader.runJsAttached();
// -->