summaryrefslogtreecommitdiff
path: root/web-ui/app/js/dispatchers
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2016-01-05 10:54:37 -0200
committerBruno Wagner <bwagner@riseup.net>2016-01-05 10:54:37 -0200
commit29bfdd509d88aef16873207683302bec22bfe5a9 (patch)
tree1783d6970c0d5e4bb5af2495afbc8f28d6ad5583 /web-ui/app/js/dispatchers
parentc3340fc2529f3627264b616ea45fac3c9681b001 (diff)
Revert "Issue #25 - Implemented shortcuts on UI"
This reverts commit aa66beb0c74ebaa950a083ed991f6e5f50f9c9ac. This commit broke the functional tests, so we are reverting it for now, while we fix it
Diffstat (limited to 'web-ui/app/js/dispatchers')
-rw-r--r--web-ui/app/js/dispatchers/right_pane_dispatcher.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/web-ui/app/js/dispatchers/right_pane_dispatcher.js b/web-ui/app/js/dispatchers/right_pane_dispatcher.js
index 4d28588a..870bcd92 100644
--- a/web-ui/app/js/dispatchers/right_pane_dispatcher.js
+++ b/web-ui/app/js/dispatchers/right_pane_dispatcher.js
@@ -100,22 +100,12 @@ define(
this.attr.currentTag = data.tag;
};
- this.shortcutOpenComposeBox = function() {
- this.trigger(document, events.dispatchers.rightPane.openComposeBox);
- };
-
- this.shortcutCloseMail = function() {
- this.trigger(document, events.dispatchers.rightPane.openNoMessageSelected);
- };
-
this.after('initialize', function () {
this.on(document, events.dispatchers.rightPane.openComposeBox, this.openComposeBox);
- this.on(document, events.shortcuts.openComposeBox, this.shortcutOpenComposeBox);
this.on(document, events.dispatchers.rightPane.openDraft, this.openDraft);
this.on(document, events.ui.mail.open, this.openMail);
this.on(document, events.dispatchers.rightPane.openFeedbackBox, this.openFeedbackBox);
this.on(document, events.dispatchers.rightPane.openNoMessageSelected, this.openNoMessageSelectedPane);
- this.on(document, events.shortcuts.closeMail, this.shortcutCloseMail);
this.on(document, events.dispatchers.rightPane.selectTag, this.selectTag);
this.on(document, events.ui.tag.selected, this.saveTag);
this.on(document, events.ui.tag.select, this.saveTag);