diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-15 23:18:50 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-15 23:18:50 +0200 |
commit | 4a05bee29f142878b3b16020143f43492a55e115 (patch) | |
tree | 8eaef9bf26cbbf62f866e528c1c8bdcfe0469eaa /pyload/web/app/scripts | |
parent | Locale template files updated (diff) | |
download | pyload-4a05bee29f142878b3b16020143f43492a55e115.tar.xz |
click on logo navigates to dashboard
Diffstat (limited to 'pyload/web/app/scripts')
-rw-r--r-- | pyload/web/app/scripts/views/headerView.js | 7 |
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 = []; |