X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=js%2Finserts.js;h=3448c86949691da79ffa36722467b7e72b8caadc;hb=c81440fdf91c294d4dc4778cfeccde5d10101faa;hp=2e14ebf4d75df58657fa68262b885a2e5c8c5f5b;hpb=718193c6f0883b4e301be01a6c5c55b5590ad53b;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; }