Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'MDL-59670-master' of git://github.com/andrewnicols/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Aug 28, 2017
2 parents 9317cee + a49c3d8 commit cace548
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion calendar/amd/build/event_form.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion calendar/amd/src/event_form.js
Expand Up @@ -232,7 +232,7 @@ define(['jquery', 'core/templates'], function($, Templates) {
element.removeClass('hidden');
element.prop('disabled', false);

if (selectedIndex === null) {
if (selectedIndex === null || element.attr('selected')) {
selectedIndex = index;
}
} else {
Expand Down

0 comments on commit cace548

Please sign in to comment.