mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-09-16 19:08:00 +00:00
Revert "fix(view): automatically refresh view only if a number is set."
This reverts commit 55dbae6bee.
This commit is contained in:
@@ -129,7 +129,7 @@
|
||||
|
||||
// Restart the refresh timer, if needed
|
||||
var refreshViewCheck = Component.$Preferences.defaults.SOGoRefreshViewCheck;
|
||||
if (refreshViewCheck && refreshViewCheck != 'manually' && !isNaN(refreshViewCheck)) {
|
||||
if (refreshViewCheck && refreshViewCheck != 'manually') {
|
||||
var f = angular.bind(Component.$rootScope, Component.$rootScope.$emit, 'calendars:list');
|
||||
Component.$refreshTimeout = Component.$timeout(f, refreshViewCheck.timeInterval()*1000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user