Skip to content

Commit

Permalink
Merge branch 'wip-mdl-34606-m22' of git://github.com/rajeshtaneja/moo…
Browse files Browse the repository at this point in the history
…dle into MOODLE_22_STABLE
  • Loading branch information
stronk7 committed Sep 4, 2012
2 parents 81baf0d + 3851c53 commit e20371b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion user/selector/module.js
Expand Up @@ -77,8 +77,9 @@ M.core_user.init_user_selector = function (Y, name, hash, extrafields, lastsearc
var clearbtn = Y.one('#'+this.name + '_clearbutton');
this.clearbutton = Y.Node.create('<input type="button" value="'+clearbtn.get('value')+'" />');
clearbtn.replace(Y.Node.getDOMNode(this.clearbutton));
this.clearbutton.set('id',+this.name+"_clearbutton");
this.clearbutton.set('id', this.name+"_clearbutton");
this.clearbutton.on('click', this.handle_clear, this);
this.clearbutton.set('disabled', (this.get_search_text() == ''));

this.send_query(false);
},
Expand Down

0 comments on commit e20371b

Please sign in to comment.