summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/reply_section.js
diff options
context:
space:
mode:
authorJefferson Stachelski <jstachel@thoughtworks.com>2015-12-31 16:52:49 -0200
committerJefferson Stachelski <jstachel@thoughtworks.com>2015-12-31 16:52:49 -0200
commitaa66beb0c74ebaa950a083ed991f6e5f50f9c9ac (patch)
treee0df762cef10651b025058fb75733f5e125b6e98 /web-ui/app/js/mail_view/ui/reply_section.js
parent111205c8cd74d553201b42db3041d870ae833165 (diff)
Issue #25 - Implemented shortcuts on UI
Diffstat (limited to 'web-ui/app/js/mail_view/ui/reply_section.js')
-rw-r--r--web-ui/app/js/mail_view/ui/reply_section.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/web-ui/app/js/mail_view/ui/reply_section.js b/web-ui/app/js/mail_view/ui/reply_section.js
index 46dfe863..71e27b1e 100644
--- a/web-ui/app/js/mail_view/ui/reply_section.js
+++ b/web-ui/app/js/mail_view/ui/reply_section.js
@@ -112,6 +112,10 @@ define(
this.on(document, events.mail.draftReply.notFound, this.showButtons);
this.on(document, events.mail.draftReply.here, this.showDraftReply);
+ this.on(document, events.shortcuts.replyMail, this.showReply);
+ this.on(document, events.shortcuts.replyAllMail, this.showReplyAll);
+ this.on(document, events.shortcuts.forwardMail, this.showForward);
+
this.checkForDraftReply();
});
}