diff --git a/share/static/js/autocomplete.js b/share/static/js/autocomplete.js index b551071dc4..a12af9698b 100644 --- a/share/static/js/autocomplete.js +++ b/share/static/js/autocomplete.js @@ -115,6 +115,9 @@ window.RT.Autocomplete.bind = function(from) { render: { option_create: function(data, escape) { return '
' + escape(data.input) + '
'; + }, + loading: function(data,escape) { + return '
'; } }, load: function(query, callback) { diff --git a/share/static/js/util.js b/share/static/js/util.js index b86396f078..51eaf46f24 100644 --- a/share/static/js/util.js +++ b/share/static/js/util.js @@ -362,6 +362,11 @@ function textToHTML(value) { function initializeSelectElement(elt) { let settings = { allowEmptyOption: true, + render: { + loading: function(data,escape) { + return '
'; + } + } }; if ( elt.options && elt.options.length < RT.Config.SelectLiveSearchLimit ) {