Side navigation
#1255 closed bug (wontfix)
Opened May 30, 2007 09:01AM UTC
Closed March 31, 2008 01:40AM UTC
Plugins/autocompleter : Focus before the page load
Reported by: | dytryh | Owned by: | stefan |
---|---|---|---|
Priority: | major | Milestone: | 1.1.3 |
Component: | interface | Version: | 1.1.2 |
Keywords: | autocompleter | Cc: | |
Blocked by: | Blocking: |
Description
When an input bind to autocompleter script whith jquery.ready() have the focus before the page load was complete, the subject and lastvalue variable are undefined because there are defined with focus event.
jQuery(this) .attr('autocomplete', 'off')
.focus(function(){
jQuery.iAuto.subject = this;
jQuery.iAuto.lastValue = this.value;
}) .keypress(jQuery.iAuto.protect)
.keyup(jQuery.iAuto.autocomplete)
And after the page load, if user input a text and jQuery.iAuto.autocomplete is trigger, autocompleter plugin trigger an error.
The error message is different according to the context.
In Firefox 2.0.0.3.
Attachments (0)
Change History (1)
Changed March 31, 2008 01:40AM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
Interface is no longer supported; consider switching to jQuery UI.