From: Jean-Philippe Lang Date: Sun, 3 Apr 2016 12:31:53 +0000 (+0000) Subject: Merged r15301 (#22296). X-Git-Tag: 3.2.2~10 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e18eb311f55d2ef23239733129e2038d31fc0885;p=redmine.git Merged r15301 (#22296). git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@15302 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/public/javascripts/application.js b/public/javascripts/application.js index f76d39f6f..5530cca68 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -514,6 +514,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));