From 8d1248db4f19683dba80f6ae4bcba561768fb730 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 18 Oct 2021 12:29:19 +0000 Subject: [PATCH] Bug 22671: Show warning if browser doesn't support applicationCache This patch adds a check for browser support for the "applicationCache" feature required by the offline circulation tool. If the feature is not available, a message is shown to the user that offline circulation is disabled. To test, apply the patch and enable the AllowOfflineCirculation system preference. In a browser which supports applicationCache (Firefox < 81, Chrome < 94, Safari <= 15), go to Circulation -> Built-in offline circulation interface. - You should see the standard Offline Circulation menu options: Check out, check in, syncrhonize, etc. - Click "Synchronize," then "Download records." - The process should complete correctly, updating the "last synced" information on the page. Follow the same steps in a browser which has dropped support for applicationCache. As soon as you reach the built-in offline circulation page you should see a message, "Your browser is not compatible..." Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart Signed-off-by: Fridolin Somers --- .../prog/en/modules/circ/offline.tt | 36 +++++++++++-------- 1 file changed, 21 insertions(+), 15 deletions(-) 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 90f85425bb..9c5e1fbc30 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt @@ -73,9 +73,9 @@