Merge pull request +9290 from c9/vfs-reconnect

Reconnect after VFS protocol change
pull/149/head
Fabian Jakobs 2015-09-11 14:19:24 +02:00
commit 992a419d28
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -251,6 +251,9 @@ define(function(require, exports, module) {
});
case "reload":
lastError = showError(err.message + ". Please reload this window.", -1);
setTimeout(function() {
window.location.reload();
}, (Math.random() * 8) + 2 * 60 * 1000);
break;
default:
lastError = showError(err, -1);