radicale y infcloud funcionando
This commit is contained in:
@@ -43,7 +43,9 @@ window.applicationCache.addEventListener('updateready', function(){
|
||||
// Check if a new cache is available on page load.
|
||||
window.addEventListener('load', function(e)
|
||||
{
|
||||
window.applicationCache.addEventListener('cached', function(e)
|
||||
// Check if applicationCache is supported (deprecated in modern browsers)
|
||||
if (window.applicationCache) {
|
||||
window.applicationCache.addEventListener('cached', function(e)
|
||||
{
|
||||
if(!isUserLogged)
|
||||
window.location.reload();
|
||||
@@ -76,4 +78,8 @@ window.addEventListener('load', function(e)
|
||||
//$('#LoginPage .window').css('display', 'inline-block');
|
||||
}
|
||||
}, false);
|
||||
} else {
|
||||
// Application cache not supported, continue without cache functionality
|
||||
console.log('Application cache not supported in this browser');
|
||||
}
|
||||
}, false);
|
||||
|
||||
Reference in New Issue
Block a user