kopia lustrzana https://github.com/c9/core
Merge pull request +9290 from c9/vfs-reconnect
Reconnect after VFS protocol changepull/149/head
commit
992a419d28
|
@ -251,6 +251,9 @@ define(function(require, exports, module) {
|
||||||
});
|
});
|
||||||
case "reload":
|
case "reload":
|
||||||
lastError = showError(err.message + ". Please reload this window.", -1);
|
lastError = showError(err.message + ". Please reload this window.", -1);
|
||||||
|
setTimeout(function() {
|
||||||
|
window.location.reload();
|
||||||
|
}, (Math.random() * 8) + 2 * 60 * 1000);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lastError = showError(err, -1);
|
lastError = showError(err, -1);
|
||||||
|
|
Ładowanie…
Reference in New Issue