formslib MDL-19626 Changed JS string handling to new $PAGE methods, Thanks Dan
This commit is contained in:
@@ -342,8 +342,8 @@ function showAdvancedInit(addBefore, nameAttr, buttonLabel, hideText, showText)
|
||||
showHideButton.value = buttonLabel;
|
||||
showHideButton.name = nameAttr;
|
||||
showHideButton.moodle = {
|
||||
hideLabel: hideText,
|
||||
showLabel: showText
|
||||
hideLabel: mstr.form.hideadvanced,
|
||||
showLabel: mstr.form.showadvanced
|
||||
};
|
||||
YAHOO.util.Event.addListener(showHideButton, 'click', showAdvancedOnClick);
|
||||
el = document.getElementById(addBefore);
|
||||
|
||||
Reference in New Issue
Block a user