Merge branch 'wip-MDL-24200-stable21' of git://github.com/phalacee/moodle into MOODLE_21_STABLE

This commit is contained in:
Aparup Banerjee
2011-11-09 11:04:40 +08:00
+1
View File
@@ -30,6 +30,7 @@ M.form.initShowAdvanced = function(Y, config) {
if (this._advButtons.size() > 0) {
this._stateInput = new Y.NodeList(document.getElementsByName('mform_showadvanced_last'));
this._advButtons.on('click', this.switchState, this);
this._advButtons.set('type', 'button');
}
},
/**