From 273d272324828d9d43c0c47d13656b33c2811889 Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 19 Apr 2013 20:05:40 +0200 Subject: [PATCH] Additional Chrome related fix in hotkeys support. --- js/inserts.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/inserts.js b/js/inserts.js index 2e14ebf..3448c86 100644 --- a/js/inserts.js +++ b/js/inserts.js @@ -454,8 +454,9 @@ var inserts = { ev.returnValue = false; return false; } - if (!_hotkeys.alt) // ommit chrome Chrome accesskeys - window.location = e.href; + if (_hotkeys.alt) // ommit Chrome accesskeys + return false; + window.location = e.href; } }, 'ul.ajaxtabs': function(ul) { @@ -466,7 +467,7 @@ var inserts = { // ? var modifiedurl=ulistlink.getAttribute("href").replace(/^http:\/\/[^\/]+\//i, "http://"+window.location.hostname+"/") var url = tab.form.action tab.onclick=function(){ - if (!_hotkeys.alt) + if (!_hotkeys.alt && !tab.disabled) _expand(this); return false; } -- 2.30.2