This commit is contained in:
Michal Moskal 2015-08-17 18:50:55 -07:00
Родитель 6cb962252b
Коммит 94d0f95530
3 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -49,13 +49,13 @@ module TDev
if (window.localStorage["lastExceptionMessage"]) {
var msg = window.localStorage["lastExceptionMessage"];
window.localStorage["lastExceptionMessage"] = "";
window.localStorage.removeItem("lastExceptionMessage");
if (TDev.Browser.EditorSettings.widgets().notifyAppReloaded)
upd = div("app-updated", lf("Something went wrong and we reloaded the app"));
}
if (!upd && window.localStorage["appUpdated"]) {
window.localStorage["appUpdated"] = "";
window.localStorage.removeItem("appUpdated");
if (dbg)
upd = div("app-updated", lf("The TouchDevelop app has been updated."));
}

Просмотреть файл

@ -260,7 +260,7 @@
this.updateIsWaiting = false;
tick(Ticks.appUpdate);
window.localStorage["appUpdated"] = "1";
window.localStorage["lastForcedUpdate"] = "";
window.localStorage.removeItem("lastForcedUpdate");
window.location.reload();
return true;
}

Просмотреть файл

@ -2650,7 +2650,7 @@ module TDev{
{
var b = window.localStorage["storedBug"];
if (b) {
window.localStorage["storedBug"] = "";
window.localStorage.removeItem("storedBug");
try {
sendErrorReport(JSON.parse(b));
} catch (e) {