Bug 10240: (follow-up) disable logout/set library
Logging out/setting the library does not work while using offline mode, so it makes no sense to present those options to the user. Much better is some sort of explanatory message informing them that those two links don't work. Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
618ddd3490
commit
46190d5ac4
1 changed files with 2 additions and 0 deletions
|
@ -439,6 +439,8 @@ window.addEventListener('load', function(e) {
|
|||
$(document).ready(function () {
|
||||
kohadb.initialize();
|
||||
|
||||
$('ul[aria-labelledby="drop3"]').html('<li><a class="toplinks">You cannot change your branch or logout while using offline circulation</a></li>');
|
||||
|
||||
// Returns code
|
||||
$('#checkin-form, #checkin_search form').submit(function (event) {
|
||||
event.preventDefault();
|
||||
|
|
Loading…
Reference in a new issue