diff options
Diffstat (limited to 'pyload/web/app/scripts/views/headerView.js')
-rw-r--r-- | pyload/web/app/scripts/views/headerView.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pyload/web/app/scripts/views/headerView.js b/pyload/web/app/scripts/views/headerView.js index e6e763b26..3fdfe32ba 100644 --- a/pyload/web/app/scripts/views/headerView.js +++ b/pyload/web/app/scripts/views/headerView.js @@ -67,6 +67,9 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle console.log(error); alert('WebSocket error' + error); }; + ws.onclose = function() { + alert('WebSocket was closed'); + }; this.ws = ws; }, |