diff options
author | Felix Nagel <info@felixnagel.com> | 2013-03-19 19:59:31 +0100 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-03-19 19:59:31 +0100 |
commit | 1ce8d87f8bee3b1ec8698e0e2b8ead726d0d4ca2 (patch) | |
tree | 77edf8d66ab74aa11b86c286ba2a528b4d3c36de /demos/autocomplete/combobox.html | |
parent | 5a9a80f86cc7844e7357af834c61cc14431110d1 (diff) | |
parent | 1c1f7c6184ba6f6a13e93960ea77c293f9d4308e (diff) | |
download | jquery-ui-1ce8d87f8bee3b1ec8698e0e2b8ead726d0d4ca2.tar.gz jquery-ui-1ce8d87f8bee3b1ec8698e0e2b8ead726d0d4ca2.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'demos/autocomplete/combobox.html')
-rw-r--r-- | demos/autocomplete/combobox.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index f89f260eb..22f34aa17 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -41,6 +41,7 @@ .addClass( "ui-combobox" ) .insertAfter( this.element ); + this.element.hide(); this._createAutocomplete(); this._createShowAllButton(); }, @@ -76,7 +77,8 @@ }, _createShowAllButton: function() { - var wasOpen = false; + var input = this.input, + wasOpen = false; $( "<a>" ) .attr( "tabIndex", -1 ) @@ -152,7 +154,7 @@ this._delay(function() { this.input.tooltip( "close" ).attr( "title", "" ); }, 2500 ); - this.input.data( "ui-autocomplete" ).term = ""; + this.input.autocomplete( "instance" ).term = ""; }, _destroy: function() { |