diff options
author | Scott González <scott.gonzalez@gmail.com> | 2010-03-11 03:28:00 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2010-03-11 03:28:00 +0000 |
commit | 5f213572d611a01328bfd22313e807aa656feb24 (patch) | |
tree | 95a9ac0dbcc54e1fe4181bc8fc939a7f23d2c969 /tests/unit/autocomplete/autocomplete_methods.js | |
parent | 8cd7129f0c9a1b2332aaec6ca770ead19c845531 (diff) | |
download | jquery-ui-5f213572d611a01328bfd22313e807aa656feb24.tar.gz jquery-ui-5f213572d611a01328bfd22313e807aa656feb24.zip |
Autocomplete: Append menu to body and reset z-index on every suggestion.
Fixes #5271.
Diffstat (limited to 'tests/unit/autocomplete/autocomplete_methods.js')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_methods.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/unit/autocomplete/autocomplete_methods.js b/tests/unit/autocomplete/autocomplete_methods.js index 44e74cb69..8df5bd4b2 100644 --- a/tests/unit/autocomplete/autocomplete_methods.js +++ b/tests/unit/autocomplete/autocomplete_methods.js @@ -4,7 +4,11 @@ (function($) { -module("autocomplete: methods"); +module("autocomplete: methods", { + teardown: function() { + $( ":ui-autocomplete" ).autocomplete( "destroy" ); + } +}); test("destroy", function() { var beforeHtml = $("#autocomplete").parent().html(); |