\n\t\t\t\t\n\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\tSorry, unable to complete the action you requested.\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('#link_11', 'acceptCookieEvent', 'false', 'LITHIUM:ajaxError', {}, 'K0zxSvTXnVuQTZzcjLEsXCUNyfNOwjKND5u-fY9mgF0.', 'ajax');
LITHIUM.AjaxSupport.fromLink('#link_12', 'rejectCookieEvent', 'false', 'LITHIUM:ajaxError', {}, 'sUuDgXoR2l8etbQc623vT2UN5bsvEOvNEChwAFWQ7xs.', 'ajax');
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lightboxRenderComponent","parameters":{"componentParams":"{\n \"triggerSelector\" : {\n \"value\" : \"#link_13\",\n \"class\" : \"lithium.util.css.CssSelector\"\n }\n}","componentId":"cookie.preferences"},"trackableEvent":false},"tokenId":"ajax","elementSelector":"#link_13","action":"lightboxRenderComponent","feedbackSelector":false,"url":"https://community.sisense.com/t5/community/categorypage.cookiebanneralertv2.link_1:lightboxrendercomponent?t:ac=category-id/discussion-forums&t:cp=gdprcookiebanner/contributions/cookiebannercontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"8JKpR2ZsKKZYBMavRLXeimk78kdnv6CdGSRZ8a1xZIE."});
LITHIUM.Dialog.options['-854781386'] = {"contentContext":"cookie.preferences","dialogOptions":{"minHeight":399,"draggable":true,"maxHeight":1400,"dialogContentClass":"lia-cookie-banner-preferences-dialog-body","autoOpen":false,"width":710,"minWidth":760,"dialogClass":"lia-cookie-banner-preferences-dialog","position":["center","center"],"title":"Privacy Preferences","modal":false,"maxWidth":910},"contentType":"ajax"};
LITHIUM.Dialog({
"closeImageIconURL" : "https://community.sisense.com/skins/images/83C36228C386C0AAF7F3E8F674D0832D/theme_hermes/images/button_dialog_close.svg",
"activecastFullscreen" : false,
"dialogTitleHeadingLevel" : "2",
"dropdownMenuSelector" : ".lia-menu-navigation-wrapper",
"accessibility" : true,
"triggerSelector" : ".lia-panel-dialog-trigger-event-click",
"ajaxEvent" : "LITHIUM:lightboxRenderComponent",
"focusOnDialogTriggerWhenClosed" : false,
"closeEvent" : "LITHIUM:lightboxCloseEvent",
"defaultAriaLabel" : "",
"dropdownMenuOpenerSelector" : ".lia-js-menu-opener",
"buttonDialogCloseAlt" : "Close",
"dialogContentCssClass" : "lia-panel-dialog-content",
"triggerEvent" : "click",
"dialogKey" : "dialogKey"
});
LITHIUM.Form.resetFieldForFocusFound();
LITHIUM.CookieBannerAlert({"cookieBannerAlertContent":".lia-cookie-banner-alert-text-content","privacyPolicyURL":"https://khoros.com/policy"});
;(function($) {
$( '.custom-widget-menu-toggle' ).on( 'click', function() {
$( this ).toggleClass( 'menu-opened' );
$( 'body' ).toggleClass( 'slide-open' );
});
$( '.toggle-menu-children' ).on( 'click', function() {
$( this ).parent( '.has-children' ).toggleClass( 'open' );
});
function slideMenuReset() {
$( 'body' ).removeClass( 'slide-open' );
$( '.custom-widget-menu-toggle, .toggle-menu-children' ).removeClass( 'menu-opened' );
$( '.has-children' ).removeClass( 'open' );
}
$( window ).on( 'resize orienationchange', function() {
slideMenuReset();
});
})(LITHIUM.jQuery);
LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lightboxRenderComponent","parameters":{"componentParams":"{\n \"triggerSelector\" : {\n \"value\" : \"#loginPageV2_2bbf0b7aef93ec\",\n \"class\" : \"lithium.util.css.CssSelector\"\n }\n}","componentId":"authentication.widget.login-dialog-content"},"trackableEvent":true},"tokenId":"ajax","elementSelector":"#loginPageV2_2bbf0b7aef93ec","action":"lightboxRenderComponent","feedbackSelector":false,"url":"https://community.sisense.com/t5/community/categorypage.loginpagev2:lightboxrendercomponent?t:ac=category-id/discussion-forums&t:cp=authentication/contributions/actions","ajaxErrorEventName":"LITHIUM:ajaxError","token":"mZfVj2ZmReocoZg2On6m3IdbDYuJQC_dVnYlIrrABnc."});
LITHIUM.Dialog.options['-1159672177'] = {"contentContext":"authentication.widget.login-dialog-content","dialogOptions":{"trackable":true,"resizable":true,"autoOpen":false,"minWidth":710,"dialogClass":"lia-content lia-panel-dialog lia-panel-dialog-modal-advanced","title":"Sign in","minHeight":200,"fitInWindow":true,"draggable":true,"maxHeight":600,"width":710,"position":["center","center"],"modal":true,"maxWidth":710},"contentType":"ajax"};
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_0","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_2","feedbackSelector":".InfoMessage"});
LITHIUM.AjaxFeedback(".lia-inline-ajax-feedback", "LITHIUM:hideAjaxFeedback", ".lia-inline-ajax-feedback-persist");
LITHIUM.Placeholder();
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_2bbf0b7b3173e7', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'V33l5WyCLsYYaiQQPHJBxO7v49lnzed1gEIp3ATHF9E.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_0","redirectToItemLink":false,"url":"https://community.sisense.com/t5/community/categorypage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=category-id/discussion-forums&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_0","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_2bbf0b7b67b268', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'pePP6eAtLOXg79e9qBf8gQ-rMTSWm-Y5zn4vLTyyVys.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_1","redirectToItemLink":false,"url":"https://community.sisense.com/t5/community/categorypage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=category-id/discussion-forums&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_1","updateInputOnSelect":true,"loadingText":"Searching for users...","emptyText":"No Matches","successText":"Users found:","defaultText":"Enter a user name or rank","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_2bbf0b7b96ef9f', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, '6pyDCM_fUtr7S9m2PCvSJmvo6Y2myEcgFW0-WTH3qS8.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#userSearchField","redirectToItemLink":false,"url":"https://community.sisense.com/t5/community/categorypage.searchformv32.usersearchfield.usersearchfield:autocomplete?t:ac=category-id/discussion-forums&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","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_0","url":"https://community.sisense.com/t5/community/categorypage.searchformv32.usersearchfield:userexistsquery?t:ac=category-id/discussion-forums&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"Un18p7BfekwZB1Xsm7N8wlqUU2nyq6j29qqsRiamYmM."});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_2","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_2bbf0b7bc56e31', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'gz0gkrIglFcnpwXrDLTk9bpiPoEc3n4oCDKMzPruPaE.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_0","redirectToItemLink":false,"url":"https://community.sisense.com/t5/community/categorypage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=category-id/discussion-forums&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AutoComplete({"options":{"autosuggestionAvailableInstructionText":"Auto-suggestions available. Use Up and Down arrow keys to navigate.","triggerTextLength":0,"autocompleteInstructionsSelector":"#autocompleteInstructionsText_3","updateInputOnSelect":true,"loadingText":"Searching...","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","autosuggestionUnavailableInstructionText":"No suggestions available","disabled":false,"footerContent":[{"scripts":"\n\n(function(b){LITHIUM.Link=function(f){function g(a){var c=b(this),e=c.data(\"lia-action-token\");!0!==c.data(\"lia-ajax\")&&void 0!==e&&!1===a.isPropagationStopped()&&!1===a.isImmediatePropagationStopped()&&!1===a.isDefaultPrevented()&&(a.stop(),a=b(\"\\x3cform\\x3e\",{method:\"POST\",action:c.attr(\"href\"),enctype:\"multipart/form-data\"}),e=b(\"\\x3cinput\\x3e\",{type:\"hidden\",name:\"lia-action-token\",value:e}),a.append(e),b(document.body).append(a),a.submit(),d.trigger(\"click\"))}var d=b(document);void 0===d.data(\"lia-link-action-handler\")&&\n(d.data(\"lia-link-action-handler\",!0),d.on(\"click.link-action\",f.linkSelector,g),b.fn.on=b.wrap(b.fn.on,function(a){var c=a.apply(this,b.makeArray(arguments).slice(1));this.is(document)&&(d.off(\"click.link-action\",f.linkSelector,g),a.call(this,\"click.link-action\",f.linkSelector,g));return c}))}})(LITHIUM.jQuery);\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_2bbf0b7bf5a54e', 'disableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, 'ioce_uOOePl_gtbLIgRoVAJ8XLw9e2KBI7y3ExXdGCc.', 'ajax');","content":"Turn off suggestions<\/a>"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField","redirectToItemLink":false,"url":"https://community.sisense.com/t5/community/categorypage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=category-id/discussion-forums&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"});
LITHIUM.AjaxSupport.fromLink('#enableAutoComplete', 'enableAutoComplete', '#ajaxfeedback_0', 'LITHIUM:ajaxError', {}, '46maWCSAKuWeT3m2t0Y1Y7V78exaZ3srXF37bdlZgKw.', 'ajax');
LITHIUM.Tooltip({"bodySelector":"body#lia-body","delay":30,"enableOnClickForTrigger":false,"predelay":10,"triggerSelector":"#link_14","tooltipContentSelector":"#link_15-tooltip-element .content","position":["bottom","left"],"tooltipElementSelector":"#link_15-tooltip-element","events":{"def":"focus mouseover keydown,blur mouseout keydown"},"hideOnLeave":true});
LITHIUM.HelpIcon({"selectors":{"helpIconSelector":".help-icon .lia-img-icon-help"}});
LITHIUM.SearchAutoCompleteToggle({"containerSelector":"#searchautocompletetoggle","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-searchformV32","nodesModel":{"tkb|tkb":{"title":"Knowledge base","inputSelector":".lia-search-input-tkb-article"},"product|product":{"title":"Products","inputSelector":".lia-search-input-product"},"prwft24948|community":{"title":"Search Community: Legacy Discussions","inputSelector":".lia-search-input-message"},"user|user":{"title":"Users","inputSelector":".lia-search-input-user"},"discussion-forums|category":{"title":"Search Category: Legacy Discussions","inputSelector":".lia-search-input-message"}},"asSearchActionIdHeaderKey":"X-LI-AS-Search-Action-Id","inputSelector":"#messageSearchField_0:not(.lia-js-hidden)","clearSearchButtonSelector":null});
LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Show contributions of the user, selected option is Options. You may choose another option from the dropdown menu.","disabledLink":"lia-link-disabled","menuOpenCssClass":"dropdownHover","menuElementSelector":".lia-menu-navigation-wrapper","dialogSelector":".lia-panel-dialog-trigger","messageOptions":"lia-component-message-view-widget-action-menu","menuBarComponent":"lia-component-menu-bar","closeMenuEvent":"LITHIUM:closeMenu","menuOpenedEvent":"LITHIUM:menuOpened","pageOptions":"lia-component-community-widget-page-options","clickElementSelector":".lia-js-click-menu","menuItemsSelector":".lia-menu-dropdown-items","menuClosedEvent":"LITHIUM:menuClosed"});
LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown","menuItemsSelector":".lia-menu-dropdown-items"}});
//
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"});
LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_3","feedbackSelector":".InfoMessage"});
;(function($) {
$(document).ready(function() {
var getMessages = function (spinnerTarget, clearMessages) {
var parentComponent = $('#custom-loader');
var messageTarget = $('.message-list', parentComponent);
var currentPage = null;
try {
currentPage = parseInt($(messageTarget).attr('data-attrib-current-page'), 10);
} catch (e) {
currentPage = 0;
}
$.ajax({
type: 'post',
url : '/plugins/custom/sisense/sisense/theme-lib.community-activity?tid=-3061760673516632349',
dataType: 'json',
data: {"currentPage": currentPage, "node": "discussion-forums", "scope":"category", "messageListType": $(messageTarget).attr('data-attrib-message-list-type'), "allowedInteractionStyles": "forum,group,idea"},
context: parentComponent,
beforeSend: function(jqXHR, settings) {
$('#custom-loader-messages .errors', parentComponent).empty();
$(spinnerTarget).prepend('');
},
error: function (jqXHR, textStatus, errorThrown) {
$('#custom-loader-messages .errors', parentComponent).append(errorThrown);
},
success: function (data, textStatus, jqXHR) {
if (data.status == 'success') {
if (clearMessages) {
messageTarget.empty();
}
if (data.messages.length > 0) {
messageTarget.append(data.messages);
} else {
if (clearMessages) {
messageTarget.append('No posts to display.
');
}
}
if (data.EOR == 'true') {
$('#custom-loader-button').addClass('disabled');
} else {
$('#custom-loader-button').removeClass('disabled');
}
} else {
$('#custom-loader-messages .errors', parentComponent).append(data.message);
}
},
complete: function(jqXHR, textStatus) {
$('.spinner', spinnerTarget).remove();
}
});
};
$('#community-activity-sorted-by').change(function() {
var messageTarget = $('#custom-loader .message-list');
messageTarget.attr('data-attrib-message-list-type', $(this).val());
$(messageTarget).attr('data-attrib-current-page', '0');
getMessages($('#custom-loader'), true);
});
$('#custom-loader-button').click( function(evt) {
evt.preventDefault();
if ($(this).hasClass('disabled')) {
return;
}
var currentPage = null;
var messageTarget = $('#custom-loader .message-list');
try {
currentPage = parseInt($(messageTarget).attr('data-attrib-current-page'), 10);
} catch (e) {
currentPage = 0;
}
$(messageTarget).attr('data-attrib-current-page', (currentPage + 1));
getMessages($('#custom-loader-button'), false);
});
});
})(LITHIUM.jQuery);
;(function($) {
$(document).ready(function () {
$('body').click(function() {
$('.user-profile-card').hide();
});
$('body').on('click', 'a.lia-link-navigation.lia-page-link.lia-user-name-link,.UserAvatar.lia-link-navigation', function(evt) {
if ($(this).parents('.lia-component-users-widget-menu').length > 0 || $(this).parents('.lia-component-common-widget-user-navigation-modern').length > 0) {
return;
}
evt.preventDefault();
evt.stopPropagation();
$('.user-profile-card').hide();
if ($('.user-profile-card', this).length > 0) {
$('.user-profile-card', this).show();
return;
}
var divContainer = $('');
$(this).append(divContainer);
$(divContainer).fadeIn();
var userId = $(this).attr('href').replace(/.*\/user-id\//gi,'');
var windowWidth = $(window).width();
var left = $(this).offset().left;
var cardWidth = divContainer.outerWidth();
if ((left + cardWidth) > (windowWidth - 25)) {
var adjustment = (left + cardWidth) - (windowWidth + 25) + 50;
divContainer.css('left', (-1 * adjustment) + 'px');
}
$.ajax({
url: '/plugins/custom/sisense/sisense/theme-lib.profile-card?tid=-3061760673516632349',
type: 'post',
dataType: 'html',
data: {"userId": userId},
beforeSend: function() {},
success: function(data) {
$('.info-container', divContainer).append(data);
},
error: function() {
$('.info-container', divContainer).append('
');
},
complete: function() {
$('.spinner', divContainer).remove();
}
});
});
$('body').on('click', '.user-profile-card', function(evt) {
if (!$(evt.target).hasClass('profile-link')) {
evt.preventDefault();
}
evt.stopPropagation();
});
});
})(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.sisense.com/t5/community/categorypage.liabase.basebody.partialrenderproxy:partialrenderproxyrelay?t:ac=category-id/discussion-forums","ajaxErrorEventName":"LITHIUM:ajaxError","token":"c78QwUbpt3SbPguVmvH3U28rsT1WDWmfBvYEurxqKwY."});
LITHIUM.Auth.API_URL = "/t5/util/authcheckpage";
LITHIUM.Auth.LOGIN_URL_TMPL = "https://community.sisense.com/t5/user/userloginpage?dest_url=#{destUrl}";
LITHIUM.Auth.KEEP_ALIVE_URL = "/t5/status/blankpage?keepalive";
LITHIUM.Auth.KEEP_ALIVE_TIME = 300000;
LITHIUM.Auth.CHECK_SESSION_TOKEN = 'T79PEUgz84yK5dZ3nrMPEu28KYSv6wfzb60S6Hlz1Xc.';
LITHIUM.AjaxSupport.useTickets = false;
LITHIUM.Loader.runJsAttached();
});
// -->