From 79841cf7dd4313759ad338d18551c6c6a800ace2 Mon Sep 17 00:00:00 2001 From: Sam Date: Thu, 21 Feb 2019 16:19:08 +1100 Subject: [PATCH] FEATURE: add missing autocomplete suppressions Following 1f4ace4f add a couple more autocomplete suppressions (in polls and invite ui) --- .../javascripts/discourse/templates/components/invite-panel.hbs | 2 +- .../javascripts/discourse/templates/modal/poll-ui-builder.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/components/invite-panel.hbs b/app/assets/javascripts/discourse/templates/components/invite-panel.hbs index 3b14b5bf793..10275ebf971 100644 --- a/app/assets/javascripts/discourse/templates/components/invite-panel.hbs +++ b/app/assets/javascripts/discourse/templates/components/invite-panel.hbs @@ -30,7 +30,7 @@ usernames=emailOrUsername placeholderKey=placeholderKey class="invite-user-input" - autocomplete="off"}} + autocomplete="discourse"}} {{else}} {{text-field class="email-or-username-input" diff --git a/plugins/poll/assets/javascripts/discourse/templates/modal/poll-ui-builder.hbs b/plugins/poll/assets/javascripts/discourse/templates/modal/poll-ui-builder.hbs index 142f7f3ffa1..d4cd3cdf70d 100644 --- a/plugins/poll/assets/javascripts/discourse/templates/modal/poll-ui-builder.hbs +++ b/plugins/poll/assets/javascripts/discourse/templates/modal/poll-ui-builder.hbs @@ -52,7 +52,7 @@ {{#unless isNumber}}
- {{textarea value=pollOptions}} + {{textarea value=pollOptions autocomplete="discourse"}} {{input-tip validation=minNumOfOptionsValidation}}
{{/unless}}