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