Rev 35549 | Blame | Compare with Previous | Last modification | View Log | RSS feed
$(function () {$(document).on('click', ".post-bulletin", function () {loadbulletinPage("main-content");});$(document).on('click', ".post-bulletin-button", function (event) {event.preventDefault();if (confirm("Are you sure?")) {let description = quill.root.innerHTML;let regionId = $("#bregionId").val();let documentIds = $("#bulletinDocumentIds").val();let param = {description: description,regionId: regionId,documentIds: documentIds}doPostAjaxRequestWithJsonHandler(context + "/bulletinPost", JSON.stringify(param), function (response) {if (response == 'true') {bootbox.alert("Bulletin Post Successfully");loadbulletinPage("main-content");}});}});});function loadbulletinPage(domId) {doGetAjaxRequestHandler(context + "/bulletin", function (response) {$('#' + domId).html(response);});}