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:
@@ -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);
|
||||
<% } %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user