From c974d0fc69849d9e7854a532da01f00587d04527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Sat, 28 Apr 2012 16:07:17 -0400 Subject: [PATCH] Autocomplete combobox demo: Define this.wrapper for use inside destroy(). --- demos/autocomplete/combobox.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index 2fd55bc29..e2ef40dd9 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -42,7 +42,7 @@ select = this.element.hide(), selected = select.children( ":selected" ), value = selected.val() ? selected.text() : "", - wrapper = $( "" ) + wrapper = this.wrapper = $( "" ) .addClass( "ui-combobox" ) .insertAfter( select );