users: remove option to disable autocomplete.

This option was originally added in issue #1747. But only ~350 users
ever disabled autocomplete, only ~120 of these were seen in the last
year, and only 9 new users who signed up in the last year disabled it.

Users wishing to disable autocomplete can use this CSS:

    .ui-autocomplete { display: none !important: }

or this Javascript:

    $("[data-autocomplete]").autocomplete("disable");
This commit is contained in:
evazion
2021-01-14 20:31:00 -06:00
parent 4719a5ed1c
commit d408ccbd41
8 changed files with 38 additions and 46 deletions

View File

@@ -289,8 +289,8 @@ module ApplicationHelper
%i[
id name level level_string theme always_resize_images can_upload_free
can_approve_posts disable_categorized_saved_searches
disable_mobile_gestures disable_post_tooltips enable_auto_complete
enable_safe_mode hide_deleted_posts show_deleted_children style_usernames
disable_mobile_gestures disable_post_tooltips enable_safe_mode
hide_deleted_posts show_deleted_children style_usernames
default_image_size
] + User::Roles.map { |role| :"is_#{role}?" }
end