diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-16 09:43:49 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-16 09:43:49 -0400 |
commit | 85639bf0fa39427d8de1dc60131f746045ba4ddc (patch) | |
tree | 2cbe8d2bef8e16c97568a7fb50ffbf59d641a78e /demos/autocomplete/multiple-remote.html | |
parent | 5912d36374499e15d8d184df5ca122a4c4a4990f (diff) | |
download | jquery-ui-85639bf0fa39427d8de1dc60131f746045ba4ddc.tar.gz jquery-ui-85639bf0fa39427d8de1dc60131f746045ba4ddc.zip |
Autocomplete: Update live region if focus event is canceled. Remove live region on destroy.
Diffstat (limited to 'demos/autocomplete/multiple-remote.html')
-rw-r--r-- | demos/autocomplete/multiple-remote.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/autocomplete/multiple-remote.html b/demos/autocomplete/multiple-remote.html index 00d739967..378e449d5 100644 --- a/demos/autocomplete/multiple-remote.html +++ b/demos/autocomplete/multiple-remote.html @@ -47,8 +47,7 @@ } }, focus: function() { - // prevent value inserted on focus, update liveRegion instead - $( this ).data( "autocomplete" ).liveRegion.text( ui.item.label ); + // prevent value inserted on focus return false; }, select: function( event, ui ) { |