Skip to content
Snippets Groups Projects
Commit 063ab206 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Allow displayError to open the Lightbox if closed.

parent e83285f3
No related merge requests found
......@@ -193,6 +193,11 @@ var Lightbox = {
if (typeof Recaptcha !== "undefined" && Recaptcha.widget) {
Recaptcha.reload();
}
// If the lightbox isn't visible, fix that
if(this.shown == false) {
$('#modal').modal('show');
this.shown = true;
}
},
/***********************************/
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment