The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to add dont show me again checkbox using AUI

Vijay Sv
Contributor
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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

DEPLOYMENT TYPE
SERVER
VERSION
8.5.5
TAGS
AUG Leaders

Atlassian Community Events