parent
254147b9ac
commit
da76344983
1
NEWS
1
NEWS
|
@ -9,6 +9,7 @@ Bug fixes
|
|||
- [web] fixed wrong colors assigned to default calendar categories
|
||||
- [web] lowered size of headings on small screens
|
||||
- [web] fixed scrolling in calendars list on Android
|
||||
- [web] keep center list of Calendar module visible on small screens
|
||||
- [core] allow super users to modify any event (#4216)
|
||||
- [core] correctly handle the full cert chain in S/MIME
|
||||
- [core] handle multidays events in freebusy data
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
|
||||
<div class="view-list ng-hide" layout="column"
|
||||
ng-show="list.selectedList >= 0"
|
||||
ng-class="{'view-list--close': centerIsClose}"
|
||||
ng-class="{'view-list--close': app.centerIsClose(centerIsClose)}"
|
||||
ui-view="listView">
|
||||
<md-toolbar class="md-accent md-hue-1 hide-print" flex-none="flex-none"
|
||||
ng-hide="list.mode.multiple">
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
/**
|
||||
* @ngInject
|
||||
*/
|
||||
CalendarsController.$inject = ['$rootScope', '$scope', '$window', '$mdDialog', '$log', '$mdToast', 'Dialog', 'sgSettings', 'Preferences', 'Calendar'];
|
||||
function CalendarsController($rootScope, $scope, $window, $mdDialog, $log, $mdToast, Dialog, Settings, Preferences, Calendar) {
|
||||
CalendarsController.$inject = ['$rootScope', '$scope', '$window', '$mdDialog', '$mdMedia', '$log', '$mdToast', 'sgConstant', 'Dialog', 'sgSettings', 'Preferences', 'Calendar'];
|
||||
function CalendarsController($rootScope, $scope, $window, $mdDialog, $mdMedia, $log, $mdToast, sgConstant, Dialog, Settings, Preferences, Calendar) {
|
||||
var vm = this;
|
||||
|
||||
vm.activeUser = Settings.activeUser;
|
||||
|
@ -69,6 +69,13 @@
|
|||
);
|
||||
};
|
||||
|
||||
/**
|
||||
* The center is always displayed on small screens.
|
||||
*/
|
||||
this.centerIsClose = function (closed) {
|
||||
return closed && $mdMedia(sgConstant['gt-xs']);
|
||||
};
|
||||
|
||||
/**
|
||||
* Only allow to sort items within the same list.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue