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:
@@ -1,4 +1,3 @@
|
||||
import CurrentUser from './current_user'
|
||||
import Post from './posts.js.erb'
|
||||
import Utility from './utility'
|
||||
|
||||
@@ -77,9 +76,7 @@ PostModeMenu.initialize_edit_form = function() {
|
||||
|
||||
PostModeMenu.close_edit_form = function() {
|
||||
$("#quick-edit-div").slideUp("fast");
|
||||
if (CurrentUser.data("enable-auto-complete")) {
|
||||
$("#post_tag_string").data("uiAutocomplete").close();
|
||||
}
|
||||
$("#post_tag_string").data("uiAutocomplete").close();
|
||||
}
|
||||
|
||||
PostModeMenu.initialize_tag_script_field = function() {
|
||||
|
||||
Reference in New Issue
Block a user