Permalink
Browse files

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

  • Loading branch information...
2 parents b7830da + 4832390 commit 5b653c75dde8362a55fd25cb4f79ec9a17a2cfbe @nebgor nebgor committed Nov 9, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/form/form.js
View
1 lib/form/form.js
@@ -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');
}
},
/**

0 comments on commit 5b653c7

Please sign in to comment.