Commit 9ff598f6 authored by Jérome Perrin's avatar Jérome Perrin

GUI: report error while updating

I had a 503 ..
parent 91afdabb
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
} }
} }
}, false); }, false);
window.applicationCache.addEventListener('error', function() {
alert("Fatal error while updating, retrying"); window.location.reload();}, false );
} }
}, false); }, false);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment