From 8e001a93b7d90bd394c9401c0f1b4acf77e4f9b7 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Tue, 18 Nov 2014 20:10:40 -0300 Subject: for #14, if shift is pressed with a finish key it should ignore the event, since the key isnt the expected --- web-ui/app/js/mail_view/ui/recipients/recipients_input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web-ui/app') diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients_input.js b/web-ui/app/js/mail_view/ui/recipients/recipients_input.js index b65e6080..8f647d01 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipients_input.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipients_input.js @@ -100,7 +100,7 @@ define([ return; } - if (isEnterAddressKey(keyPressed)) { + if (!event.shiftKey && isEnterAddressKey(keyPressed)) { this.tokenizeRecipient(event); if ((keyPressed !== 9 /* tab */)) { -- cgit v1.2.3