summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/app/scripts')
-rw-r--r--pyload/web/app/scripts/views/headerView.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/views/headerView.js b/pyload/web/app/scripts/views/headerView.js
index c1e71cc86..afafcf564 100644
--- a/pyload/web/app/scripts/views/headerView.js
+++ b/pyload/web/app/scripts/views/headerView.js
@@ -10,7 +10,8 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle
events: {
'click .icon-list': 'toggle_taskList',
'click .popover .close': 'toggle_taskList',
- 'click .btn-grabber': 'open_grabber'
+ 'click .btn-grabber': 'open_grabber',
+ 'click .logo': 'gotoDashboard'
},
ui: {
@@ -66,6 +67,10 @@ define(['jquery', 'underscore', 'backbone', 'app', 'models/ServerStatus', 'colle
this.ws = ws;
},
+ gotoDashboard: function() {
+ App.navigate('');
+ },
+
initGraph: function() {
var totalPoints = 120;
var data = [];