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

Merge pull request #632 from EreMaijala/save-statuses

Don't try to check save statuses if the user is not logged in.
parents 7afe828a 7a705bed
No related merge requests found
/*global htmlEncode, VuFind */ /*global htmlEncode, VuFind, userIsLoggedIn */
function checkSaveStatuses(container) { function checkSaveStatuses(container) {
if (!userIsLoggedIn) {
return;
}
if (typeof(container) == 'undefined') { if (typeof(container) == 'undefined') {
container = $('body'); container = $('body');
} }
......
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