HSLE#41904 #note.focus() werkt weer correct (S("mld_note_autoscroll") = true dus ook)

svn path=/Website/trunk/; revision=35449
This commit is contained in:
2017-09-26 13:32:56 +00:00
parent 874f599fd0
commit 673c0c07ab

View File

@@ -150,7 +150,7 @@ var timestamp_notes = new Date();
// Let op: scrollen is complexer dan je denkt. Ons huidige document heeft
// helemaal geen scrollbars, die zijn van de parent-IFrame!
<% if (!verynew && getQParamInt("autoscroll", 0) == 1) { %>
$('#note').focus();
window.setTimeout(function() { $('#note').focus(); }, 1);
window.setTimeout('parent.scrollBy(0,$(\'#note\').height() + $(\'#note_submit\').height())', 1);
<% } %>