projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kivi.js + kivi.Part.js: reinit_widgets verschoben
[kivitendo-erp.git]
/
js
/
common.js
diff --git
a/js/common.js
b/js/common.js
index
84e0b26
..
285b02f
100644
(file)
--- 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);
if (typeof fokus == 'function') { fokus(); return; }
if (focus_by_name('cursor_fokus')) return;
}, 0);