]> source.dussan.org Git - nextcloud-server.git/commitdiff
Calendar: Resize content after creating calendar layout
authorBart Visscher <bartv@thisnet.nl>
Tue, 8 May 2012 06:40:06 +0000 (08:40 +0200)
committerBart Visscher <bartv@thisnet.nl>
Tue, 8 May 2012 16:40:40 +0000 (18:40 +0200)
The calendar can be higher than the window, this corrects for the scrollbar

apps/calendar/js/calendar.js

index b3beb8d44cb9364aa730f4886622547c8c5460f4..80b5dd88c5ed81567cc056245a39808d418e05b8 100644 (file)
@@ -836,6 +836,7 @@ $(document).ready(function(){
                loading: Calendar.UI.loading,
                eventSources: eventSources
        });
+       fillWindow($('#content'));
        OCCategories.changed = Calendar.UI.categoriesChanged;
        OCCategories.app = 'calendar';
        $('#oneweekview_radio').click(function(){