Skip to content

Commit

Permalink
Merge branch 'MDL-70625-310' of git://github.com/rezaies/moodle into …
Browse files Browse the repository at this point in the history
…MOODLE_310_STABLE
  • Loading branch information
sarjona committed Feb 1, 2021
2 parents 66de72d + f9b58dd commit 63c1667
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions calendar/templates/calendar_mini.mustache
Expand Up @@ -32,7 +32,7 @@
}
}}
<div{{!
}} id="calendar-month-{{date.year}}-{{date.month}}-{{uniqid}}" {{!
}} id="calendar-month-{{date.year}}-{{date.mon}}-{{uniqid}}" {{!
}} data-template="core_calendar/month_mini" {{!
}} data-includenavigation="{{#includenavigation}}true{{/includenavigation}}{{^includenavigation}}false{{/includenavigation}}"{{!
}} data-mini="true"{{!
Expand All @@ -41,6 +41,6 @@
</div>
{{#js}}
require(['jquery', 'core_calendar/calendar_mini'], function($, CalendarMini) {
CalendarMini.init($("#calendar-month-{{date.year}}-{{date.month}}-{{uniqid}}"), !{{initialeventsloaded}});
CalendarMini.init($("#calendar-month-{{date.year}}-{{date.mon}}-{{uniqid}}"), !{{initialeventsloaded}});
});
{{/js}}
4 changes: 2 additions & 2 deletions calendar/templates/month_mini.mustache
Expand Up @@ -32,7 +32,7 @@
}
}}
<div{{!
}} id="month-mini-{{date.year}}-{{date.month}}-{{uniqid}}"{{!
}} id="month-mini-{{date.year}}-{{date.mon}}-{{uniqid}}"{{!
}} class="calendarwrapper"{{!
}} data-courseid="{{courseid}}"{{!
}} data-categoryid="{{categoryid}}"{{!
Expand Down Expand Up @@ -174,7 +174,7 @@ require([
M.util.js_pending("month-mini-{{uniqid}}-filterChanged");
// A filter value has been changed.
// Find all matching cells in the popover data, and hide them.
$("#month-mini-{{date.year}}-{{date.month}}-{{uniqid}}")
$("#month-mini-{{date.year}}-{{date.mon}}-{{uniqid}}")
.find(CalendarSelectors.popoverType[data.type])
.toggleClass('hidden', !!data.hidden);
M.util.js_complete("month-mini-{{uniqid}}-filterChanged");
Expand Down

0 comments on commit 63c1667

Please sign in to comment.