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:
parent
64d87d7a68
commit
1fb944976e
2 changed files with 2 additions and 1 deletions
|
@ -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',
|
||||||
|
|
|
@ -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);
|
||||||
});
|
});
|
Loading…
Reference in a new issue