Skip to content

Commit

Permalink
MDL-58948 course: correct event type listener
Browse files Browse the repository at this point in the history
This event handler is listening for click events on a select
element, should be a change event.
  • Loading branch information
polothy committed Jun 28, 2017
1 parent b5be387 commit 95ee1f6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ Console.prototype = {
if (!this.categoriesinit) {
this.get('categorylisting').delegate('click', this.handleCategoryDelegation, 'a[data-action]', this);
this.get('categorylisting').delegate('click', this.handleCategoryDelegation, 'input[name="bcat[]"]', this);
this.get('categorylisting').delegate('click', this.handleBulkSortByaction, '#menuselectsortby', this);
this.get('categorylisting').delegate('change', this.handleBulkSortByaction, '#menuselectsortby', this);
this.categoriesinit = true;
Y.log(count + ' categories being managed', 'info', 'moodle-course-management');
} else {
Expand Down
Loading

0 comments on commit 95ee1f6

Please sign in to comment.