The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

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

Copy and Paste error in Lightbox. Error lay between keyboard and chair.

parent 7b07ab51
Branches
Tags
No related merge requests found
......@@ -194,7 +194,7 @@ var Lightbox = {
if(alert.length > 0 && html.length > 1) {
$(alert).html(message);
} else if($('#modal .modal-body').html() == vufindString.loading+"..."
|| (html.length == 1 && $(html).hasClass('alert-error'))) {) {
|| (html.length == 1 && $(html).hasClass('alert-error'))) {
$('#modal .modal-body').html('<div class="alert alert-error">'+message+'</div><button class="btn" onClick="Lightbox.close()">'+vufindString['close']+'</button>');
} else {
$('#modal .modal-body').prepend('<div class="alert alert-error">'+message+'</div>');
......
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