[rt-users] RT 4.0.4 - Single Value Autocomplete and Internet Explorer 8 and 9
Jim Lesinski
jim.lesinski at gmail.com
Fri Dec 9 15:33:17 EST 2011
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)
<input type="text" id="<% $name %>-Value" name="<% $name %>-Value"
class="CF-<%$CustomField->id%>-Edit" value="<% $Default || '' %>"/>
<script type="text/javascript">
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 <jim.lesinski at gmail.com> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20111209/22481371/attachment.htm>
More information about the rt-users
mailing list