mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-21 19:35:38 +00:00
(feat) timezones are now using md-autocomplete
This commit is contained in:
@@ -30,6 +30,9 @@
|
||||
vm.save = save;
|
||||
vm.canChangePassword = canChangePassword;
|
||||
vm.changePassword = changePassword;
|
||||
vm.timeZonesList = window.timeZonesList;
|
||||
vm.timeZonesListFilter = timeZonesListFilter;
|
||||
vm.timeZonesSearchText = '';
|
||||
|
||||
function addCalendarCategory() {
|
||||
vm.preferences.defaults.SOGoCalendarCategoriesColors["New category"] = "#aaa";
|
||||
@@ -181,6 +184,12 @@
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function timeZonesListFilter(filter) {
|
||||
return _.filter(vm.timeZonesList, function(value) {
|
||||
return value.toUpperCase().indexOf(filter.toUpperCase()) >= 0;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
angular
|
||||
|
||||
Reference in New Issue
Block a user