Skip to content

Commit

Permalink
SAK-40665 PA System pop up does not dim the background (sakaiproject#…
Browse files Browse the repository at this point in the history
  • Loading branch information
austin48 authored and ern committed Nov 6, 2018
1 parent 3757bc3 commit ac32328
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pasystem/pasystem-tool/tool/src/webapp/scripts/pasystem.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ PASystemPopup.prototype.showPopup = function() {
afterClose : function (event) {
var acknowledgement = self.permanentlyAcknowledged ? 'permanent' : 'temporary';
self.acknowledge(acknowledgement);
$("#pasystem-popup-wrapper").remove();
},
afterContent : function (event) {
$('#popup-acknowledged-button').on('click', function () {
Expand All @@ -182,6 +183,10 @@ PASystemPopup.prototype.showPopup = function() {
this.$instance.find(".featherlight-content").focus();
}
});

$(".featherlight").after($('<div/>', {id:"pasystem-popup-wrapper"}));
$("#pasystem-popup-wrapper").append($(".featherlight"));

};


Expand Down

0 comments on commit ac32328

Please sign in to comment.