aboutsummaryrefslogtreecommitdiffstats
path: root/demos
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-05-07 09:49:18 -0400
commit8445984ab7967bab43c22c73786883df2b420981 (patch)
tree76f879f6f8feb7d999f5267acb2b81ffbb0a75ed /demos
parent8e899dab6cd1fc410bbda0e7c88cdf1a1c8e9764 (diff)
downloadjquery-ui-8445984ab7967bab43c22c73786883df2b420981.tar.gz
jquery-ui-8445984ab7967bab43c22c73786883df2b420981.zip
Autocomplete combobox demo: Define this.wrapper for use inside destroy().
(cherry picked from commit c974d0fc69849d9e7854a532da01f00587d04527)
Diffstat (limited to 'demos')
-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 6fb647c8c..693c860d6 100644
--- a/demos/autocomplete/combobox.html
+++ b/demos/autocomplete/combobox.html
@@ -40,7 +40,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 );