RT 4.0.4 - Single Value Autocomplete and Internet Explorer 8 and 9

I noticed that a Single Value Automplete custom field does not seem to work
in RT 4.0.4 with Internet Explorer 8 and 9. In fact nothing comes up.
Multivalues works as expected and other browsers work with autocomplete.

Does any one else have this issue and possibly a work around.

I had determined that the cause of this issue is related to javascript in
/opt/rt4/local/html/Elements/EditCustomFieldAutocomplete. There is an
additional comma at the end of jQuery.autocomplete call and the browser is
expecting another parameter. You could remove the comma but I opted to add
a minLength: 1 value to make the autocomplete values pop up faster.
(Default is 3 I believe)

var id = '<% $name . '-Value' %>'; id = id.replace(/:/g,'\\:'); jQuery('#' + id).autocomplete( { source: "<%RT->Config->Get('WebPath')%>/Helpers/Autocomplete/CustomFieldValues?<% $name . '-Value' %>", minLength: 1 } );On Wed, Dec 7, 2011 at 2:57 PM, Jim Lesinski wrote: > I noticed that a Single Value Automplete custom field does not seem to > work in RT 4.0.4 with Internet Explorer 8 and 9. In fact nothing comes up. > Multivalues works as expected and other browsers work with autocomplete. > > Does any one else have this issue and possibly a work around. >

I had determined that the cause of this issue is related to javascript
in /opt/rt4/local/html/Elements/EditCustomFieldAutocomplete. There is
an additional comma at the end of jQuery.autocomplete call and the
browser is expecting another parameter. You could remove the comma but
I opted to add a minLength: 1 value to make the autocomplete values
pop up faster. (Default is 3 I believe)

Thanks for catching this. I’ve removed the offending comma; this fix
will be in 4.0.5.

  • Alex