nikku/jquery-bootstrap-scripting

Feature Request: Suppress the modal close button.

Closed this issue · 1 comments

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
});

I'm an idiot.