aboutsummaryrefslogtreecommitdiffstats
path: root/demos/autocomplete/combobox.html
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2012-04-28 16:07:17 -0400
committerScott González <scott.gonzalez@gmail.com>2012-04-28 16:07:17 -0400
commitc974d0fc69849d9e7854a532da01f00587d04527 (patch)
treed25d4b980078b71b2b4c09094630fa5a5785f12d /demos/autocomplete/combobox.html
parent2017889b3cd5e56a9dd847fbf6a7ce294f4f69ac (diff)
downloadjquery-ui-c974d0fc69849d9e7854a532da01f00587d04527.tar.gz
jquery-ui-c974d0fc69849d9e7854a532da01f00587d04527.zip
Autocomplete combobox demo: Define this.wrapper for use inside destroy().
Diffstat (limited to 'demos/autocomplete/combobox.html')
-rw-r--r--demos/autocomplete/combobox.html2
1 files changed, 1 insertions, 1 deletions
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 = $( "<span>" )
+ wrapper = this.wrapper = $( "<span>" )
.addClass( "ui-combobox" )
.insertAfter( select );