X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=js%2Futils.js;h=b2fc71c4b5bb83f1acb0c065d57b3684228eb638;hb=b1c79afd0a78ec37ff813f1305e9e0804be78ef3;hp=761917a2d0f9e17cd5a6a143f74ec2c523c07225;hpb=64ae60eb7671830205a5dd3721a1f4bcd4e00165;p=fa-stable.git diff --git a/js/utils.js b/js/utils.js index 761917a2..b2fc71c4 100644 --- a/js/utils.js +++ b/js/utils.js @@ -183,7 +183,11 @@ function goBack() { } function setFocus(name, byId) { - + if(document.location.pathname.indexOf('index.php') != -1) { + // this is application menu page - set focus on first link + // var el = document.getElementById('msgbox'); + // TODO find first link after msgbox and set focus + } if(!name) { if (_focus) name = _focus; // last focus set in onfocus handlers