Skip to content
Browse files

Merge branch 'wip-mdl-34606-m23' of git://github.com/rajeshtaneja/moo…

…dle into MOODLE_23_STABLE
  • Loading branch information...
2 parents 3dafe46 + acff486 commit 31ae0e5984353974583c6c718d37e73e7e64d644 @stronk7 stronk7 committed Sep 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 user/selector/module.js
View
3 user/selector/module.js
@@ -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);
},

0 comments on commit 31ae0e5

Please sign in to comment.
Something went wrong with that request. Please try again.