javascript MDL-16673 Removed all removeable uses of CFG->javascript

In doing this I was able to eliminate the need for javascript.php files, now removed.
I will also be filing several subtasks to clean up the linked to JS files in OUTPUT as well
as all instance of the old style of focusing.
This commit is contained in:
samhemelryk 2009-07-07 09:09:16 +00:00
parent e4e7044acd
commit e11a8328b3
10 changed files with 91 additions and 199 deletions

View file

@ -1044,6 +1044,16 @@ function focuscontrol(controlid) {
}
}
/**
* Transfers keyboard focus to an HTML element based on the old style style of focus
* This function should be removed as soon as it is no longer used
*/
function old_onload_focus(parentname, controlname) {
if (window[parentname]) {
window[parentname][controlname].focus();
}
}
function scroll_to_end() {
window.scrollTo(0, 5000000);
}