summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/views/headerView.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-25 19:12:39 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-25 19:12:39 +0100
commitb5f66789e70bd105e162470927942c40496cdc92 (patch)
tree3a762f29008dd7d7c92221eb363f90580f8acb6f /module/web/static/js/views/headerView.js
parentadded view type for input fields (diff)
downloadpyload-b5f66789e70bd105e162470927942c40496cdc92.tar.xz
simple rendering for settings page
Diffstat (limited to 'module/web/static/js/views/headerView.js')
-rw-r--r--module/web/static/js/views/headerView.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/static/js/views/headerView.js b/module/web/static/js/views/headerView.js
index 25127a337..db704a3db 100644
--- a/module/web/static/js/views/headerView.js
+++ b/module/web/static/js/views/headerView.js
@@ -55,7 +55,8 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle
// TODO compare with polling
ws.onmessage = _.bind(this.onData, this);
ws.onerror = function(error) {
- alert(error);
+ console.log(error);
+ alert("WebSocket error" + error);
};
this.ws = ws;