How to add dont show me again checkbox using AUI

Vijay Sv June 29, 2020

How do i disable announcement banner poping-up every time i refresh the page? 

below the footer and script.

 

<footer class="aui-dialog2-footer" id="infoPopupFooterDivId">
<input type="checkbox" id="infoPopupDontShowCheckboxId" style="margin-left:5px;">
<span id="dontShowSpanId" onclick="enableCheckBox();" class="aui-dialog2-footer-hint" style="font-size: 14px;">Do not show this again.</span>
<button class="aui-button aui-button-primary" id="infoPopupOkButtonId" onclick="hideInfoPopoup();" style="float:right;" resolved="">Close</button>
</footer> <!-- End of footer div-->
</section>

<script>
// Hides the dialog
AJS.dialog2("#infoPopupSuperContentDivId").show();
AJS.$("#infoPopupOkButtonId").click(function(e) {
e.preventDefault();
AJS.dialog2("#infoPopupSuperContentDivId").hide();
});
</script>

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.5.5
TAGS
AUG Leaders

Atlassian Community Events