mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-19 15:01:14 +00:00
Add collision option to autocomplete initialization (#22296).
Patch by Felix Gliesche. git-svn-id: http://svn.redmine.org/redmine/trunk@15301 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
0ef6c949d1
commit
75dc617be3
@ -529,6 +529,7 @@ function observeAutocompleteField(fieldId, url, options) {
|
||||
$('#'+fieldId).autocomplete($.extend({
|
||||
source: url,
|
||||
minLength: 2,
|
||||
position: {collision: "flipfit"},
|
||||
search: function(){$('#'+fieldId).addClass('ajax-loading');},
|
||||
response: function(){$('#'+fieldId).removeClass('ajax-loading');}
|
||||
}, options));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user