summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/mail_view/ui')
-rw-r--r--web-ui/app/js/mail_view/ui/recipients/recipients_input.js9
1 files changed, 6 insertions, 3 deletions
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 79780ad2..9ecdbebe 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
@@ -4,9 +4,10 @@
define([
'flight/lib/component',
- 'page/events'
+ 'page/events',
+ 'features'
],
- function (defineComponent, events) {
+ function (defineComponent, events, features) {
function recipientsInput() {
var EXIT_KEY_CODE_MAP = {
@@ -54,7 +55,9 @@ define([
filter: extractContactNames
}
});
- emailCompleter.initialize();
+ if(features.isEnabled('contacts')) {
+ emailCompleter.initialize();
+ }
return emailCompleter;
}