X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=js%2Fcommon.js;h=285b02fef203f5dc165732c0b73a4d33580ade65;hb=b9e792cc95b5bf5076fbbad23f45c8c707dd4424;hp=84e0b26dcb5cf86f3fe049de7357fbd403c5a1d5;hpb=fdc625b4d1ba26782ff81ec2d79c1b533f26a9a7;p=kivitendo-erp.git diff --git a/js/common.js b/js/common.js index 84e0b26dc..285b02fef 100644 --- a/js/common.js +++ b/js/common.js @@ -235,11 +235,7 @@ $(function () { } } - // scroll to the active element. jQuery.focus doesn't do this - // TODO: find out how to reliably frame the active element - window.scrollTo(0, document.activeElement.getBoundingClientRect().top); - - // legacy. sone forms install these + // legacy. some forms install these if (typeof fokus == 'function') { fokus(); return; } if (focus_by_name('cursor_fokus')) return; }, 0);