From 91e695d1fdb9dca8640ff6b38aa83287a5763907 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 7 Aug 2018 16:26:39 +0200 Subject: [PATCH] Add IE browser warning as message after login --- api/js/framework/fw_desktop.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/js/framework/fw_desktop.js b/api/js/framework/fw_desktop.js index a2aa7e8dc4..d6bf60404d 100644 --- a/api/js/framework/fw_desktop.js +++ b/api/js/framework/fw_desktop.js @@ -65,6 +65,12 @@ opacity: 0.7, axis: 'y' }); + + // warn user about using IE not compatibilities + if (navigator && navigator.userAgent.match(/Trident|msie|edge/ig)) + { + egw.message(egw.lang('Browser %1 %2 is not recommended. You may experience issues and not working features. Please use the latest version of Chrome, Firefox or Edge. Thank You!', 'IE',''), 'info', 'browser:ie:warning'); + } }, /**