Feature Request: Suppress the modal close button.
Closed this issue · 1 comments
TomCrowley commented
Currently I am commenting out the lines in the code that write the close button. It would be nice if there was a true/false option in the options array to programmatically remove it. I was able to remove it with JS:
$(document).delegate(".modal", "dialog2.opened", function() {
var d = $(this);
d.find("a.close").remove(); //remove the close button
});
TomCrowley commented
I'm an idiot.