X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=js%2Finserts.js;fp=js%2Finserts.js;h=3448c86949691da79ffa36722467b7e72b8caadc;hb=35a4dd6b1126b19730aa75e1501ca6121ed0e5a9;hp=2e14ebf4d75df58657fa68262b885a2e5c8c5f5b;hpb=902c99a41a0c467d919e08c729ac1dbe82e8bbcd;p=fa-stable.git diff --git a/js/inserts.js b/js/inserts.js index 2e14ebf4..3448c869 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; }