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 c3a9ee36 authored by Chris Hallberg's avatar Chris Hallberg
Browse files

Detect and repair lightbox close parameters for refreshTagList. Resolves VUFIND-1266.

parent a4f34c99
No related merge requests found
......@@ -188,6 +188,10 @@ function ajaxLoadTab($newTab, tabid, setHash) {
function refreshTagList(_target, _loggedin) {
var loggedin = !!_loggedin || userIsLoggedIn;
var target = _target || document;
if (typeof target.target != "undefined") { // handling calls from lightbox close
target = document;
_loggedin = true;
}
var recordId = $(target).find('.hiddenId').val();
var recordSource = $(target).find('.hiddenSource').val();
var $tagList = $(target).find('.tagList');
......
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