From 46190d5ac4b15dec992009968fdeae2f8495c008 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Wed, 11 Sep 2013 18:14:30 -0400 Subject: [PATCH] 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 Signed-off-by: Chris Cormack Signed-off-by: Jonathan Druart Signed-off-by: Galen Charlton --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt index 18dd737d5d..df8b62bb24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt @@ -439,6 +439,8 @@ window.addEventListener('load', function(e) { $(document).ready(function () { kohadb.initialize(); + $('ul[aria-labelledby="drop3"]').html('
  • You cannot change your branch or logout while using offline circulation
  • '); + // Returns code $('#checkin-form, #checkin_search form').submit(function (event) { event.preventDefault(); -- 2.39.5