From b83a2063cf69f52399816800e8801cb80e362cd6 Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Sun, 7 Aug 2011 15:50:34 +0900 Subject: [PATCH] Autocomplete: ensure clear searching timeout on destroy. --- ui/jquery.ui.autocomplete.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/jquery.ui.autocomplete.js b/ui/jquery.ui.autocomplete.js index 09c3707f0..3e0163682 100644 --- a/ui/jquery.ui.autocomplete.js +++ b/ui/jquery.ui.autocomplete.js @@ -263,6 +263,7 @@ $.widget( "ui.autocomplete", { }, _destroy: function() { + clearTimeout( this.searching ); this.element .removeClass( "ui-autocomplete-input" ) .removeAttr( "autocomplete" )