Skip to content

Commit

Permalink
_still_ dangling keyup handler; temporary fix until I can dig deeper
Browse files Browse the repository at this point in the history
  • Loading branch information
scc committed Jan 16, 2008
1 parent 7eefd32 commit d132f86
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion plugins/Ajax/htdocs/images/sd_autocomplete.js
Expand Up @@ -508,7 +508,11 @@ YAHOO.slashdot.AutoCompleteWidget.prototype._onTextboxKeyUp = function( e, me )
me._hide();
break;
case 13:
me._completer.unmatchedItemSelectEvent.fire(me._completer, me, me._completer._sCurQuery);
// I'm sorry to say we have to test first, something somehow somewhere can still leave
// leave this listener dangling; want to look deeper into this, as this would _still_
// leave the listener dangling
if ( me._completer )
me._completer.unmatchedItemSelectEvent.fire(me._completer, me, me._completer._sCurQuery);
break;
default:
if ( me._pending_hide )
Expand Down

0 comments on commit d132f86

Please sign in to comment.