mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 12:33:00 +02:00
Calendar defaults to week view
This commit is contained in:
@@ -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);
|
||||||
});
|
});
|
Reference in New Issue
Block a user