[#278] Start issue autocompletes with one character

pull/351/head
Eric Davis 14 years ago
parent 85e1333e0c
commit 6ad92b659f
  1. 4
      public/javascripts/application.js

@ -210,7 +210,7 @@ function observeParentIssueField(url) {
new Ajax.Autocompleter('issue_parent_issue_id', new Ajax.Autocompleter('issue_parent_issue_id',
'parent_issue_candidates', 'parent_issue_candidates',
url, url,
{ minChars: 3, { minChars: 1,
frequency: 0.5, frequency: 0.5,
paramName: 'q', paramName: 'q',
updateElement: function(value) { updateElement: function(value) {
@ -222,7 +222,7 @@ function observeRelatedIssueField(url) {
new Ajax.Autocompleter('relation_issue_to_id', new Ajax.Autocompleter('relation_issue_to_id',
'related_issue_candidates', 'related_issue_candidates',
url, url,
{ minChars: 3, { minChars: 1,
frequency: 0.5, frequency: 0.5,
paramName: 'q', paramName: 'q',
updateElement: function(value) { updateElement: function(value) {

Loading…
Cancel
Save