Skip to content
Snippets Groups Projects
Commit 7ea48051 authored by Ere Maijala's avatar Ere Maijala Committed by Demian Katz
Browse files

Fix order of modal show and ajax request (#840)

- avoids the possibility of calling handleUpdate for the modal before it's actually shown.
parent a53f0765
No related merge requests found
......@@ -203,9 +203,9 @@ VuFind.register('lightbox', function Lightbox() {
}
_lightboxTitle = $(this).data('lightboxTitle') || '';
_modalParams = $(this).data();
VuFind.modal('show');
ajax(obj);
_currentUrl = this.href;
VuFind.modal('show');
return false;
}
};
......
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