[#278] Start issue autocompletes with one character
This commit is contained in:
parent
85e1333e0c
commit
6ad92b659f
|
@ -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…
Reference in New Issue