javascript: MDL-19475 replace require_js calls with $PAGE->requires->js.
Also, some related JavaScript cleanup. More to follow.
This commit is contained in:
@@ -410,7 +410,6 @@ function unmaskPassword(id) {
|
||||
* elements, and add date_selector_calendar instance to each.
|
||||
*/
|
||||
function init_date_selectors(firstdayofweek) {
|
||||
YAHOO.util.Dom.addClass(document.body, 'yui-skin-sam');
|
||||
var els = YAHOO.util.Dom.getElementsByClassName('fdate_time_selector', 'fieldset');
|
||||
for (var i = 0; i < els.length; i++) {
|
||||
new date_selector_calendar(els[i], firstdayofweek);
|
||||
|
||||
Reference in New Issue
Block a user