1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-26 01:37:07 +00:00

Calendar defaults to week view

This commit is contained in:
Mark McDowall 2013-06-06 18:46:16 -07:00
parent 64d87d7a68
commit 1fb944976e
2 changed files with 2 additions and 1 deletions

View file

@ -16,6 +16,7 @@ define(['app', 'Calendar/CalendarItemView'], function () {
}, },
onCompositeCollectionRendered: function () { onCompositeCollectionRendered: function () {
$(this.ui.calendar).empty().fullCalendar({ $(this.ui.calendar).empty().fullCalendar({
defaultView : 'basicWeek',
allDayDefault : false, allDayDefault : false,
ignoreTimezone: false, ignoreTimezone: false,
weekMode : 'variable', weekMode : 'variable',

View file

@ -20,5 +20,5 @@ Handlebars.registerHelper("debug", function(optionalValue) {
}); });
Handlebars.registerHelper("fileSize", function(size) { Handlebars.registerHelper("fileSize", function(size) {
return size.bytes(); return size.bytes(1);
}); });