Disable autocomplete for the conversation form recipient input

closes #7375
This commit is contained in:
Steffen van Bergerem 2017-03-19 18:58:20 +01:00 committed by Benjamin Neff
parent a639951b20
commit d3de97b244
No known key found for this signature in database
GPG key ID: 971464C3F1A90194
2 changed files with 7 additions and 1 deletions

View file

@ -7,6 +7,7 @@
## Bug fixes
* Don't hide posts when blocking someone from the profile [#7379](https://github.com/diaspora/diaspora/pull/7379)
* Disable autocomplete for the conversation form recipient input [#7375](https://github.com/diaspora/diaspora/pull/7375)
## Features
* Add links to liked and commented pages [#5502](https://github.com/diaspora/diaspora/pull/5502)

View file

@ -4,7 +4,12 @@
.form-group
%label#to-label{for: "contacts-search-input"}= t(".to")
.recipients-tag-list.clearfix#recipients-tag-list
= text_field_tag "contact_autocomplete", nil, id: "contacts-search-input", class: "form-control"
= text_field_tag "contact_autocomplete",
nil,
id: "contacts-search-input",
class: "form-control",
autocomplete: "off"
- unless defined?(mobile) && mobile
= text_field_tag "person_ids", nil, id: "contact-ids", type: "hidden",
aria: {labelledby: "to-label"}