themes: MDL-19077 fix install regression

This commit is contained in:
tjhunt
2009-06-26 09:38:14 +00:00
parent e2074b8b43
commit e29380f3c4
6 changed files with 26 additions and 26 deletions
+17 -1
View File
@@ -1040,4 +1040,20 @@ function focuscontrol(controlid) {
if (control) {
control.focus();
}
}
}
function scroll_to_end() {
window.scrollTo(0, 5000000);
}
var scrolltoendtimeout;
function repeatedly_scroll_to_end() {
scrolltoendtimeout = setInterval(scroll_to_end, 50);
}
function cancel_scroll_to_end() {
if (scrolltoendtimeout) {
clearTimeout(scrolltoendtimeout);
scrolltoendtimeout = null;
}
}