diff options
author | Lisa Junger <ljunger@thoughtworks.com> | 2015-01-27 10:37:10 +0100 |
---|---|---|
committer | Lisa Junger <ljunger@thoughtworks.com> | 2015-01-29 15:01:29 +0100 |
commit | bf562653fbdb2c6ef85df22f8dd5398f4a5cef44 (patch) | |
tree | 4bc47ebc639e75d26819db9f611832b40878ed8d /web-ui/app/js/page/default.js | |
parent | 7585c7afe36ff3149d62bef3756f5667059697dc (diff) |
Issue #242 added logout shortcut for dispatcher mode.
- some new style to logout in expanded nav bar and shortcut.
- to be complemented by #239.
Diffstat (limited to 'web-ui/app/js/page/default.js')
-rw-r--r-- | web-ui/app/js/page/default.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/web-ui/app/js/page/default.js b/web-ui/app/js/page/default.js index 8ad8f1ff..57c7fd00 100644 --- a/web-ui/app/js/page/default.js +++ b/web-ui/app/js/page/default.js @@ -41,7 +41,8 @@ define( 'views/i18n', 'views/recipientListFormatter', 'flight/lib/logger', - 'page/logout' + 'page/logout', + 'page/logout_shortcut' ], function ( @@ -70,7 +71,8 @@ define( viewI18n, recipientListFormatter, withLogging, - logout) { + logout, + logoutShortcut) { 'use strict'; function initialize(path) { @@ -102,6 +104,7 @@ define( offCanvas.attachTo(document); logout.attachTo('#logout'); + logoutShortcut.attachTo('#logout-shortcut'); } return initialize; |