diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-31 16:39:16 +0200 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2010-03-31 16:39:16 +0200 |
commit | 88b909b04ec43443514867f83171cbc9760bb638 (patch) | |
tree | b127c6f2f670c13a55ee2940d237909d62faaadb /tests | |
parent | af2296b3b0bcdf1a0bd1613fb344915c163fd157 (diff) | |
download | jquery-ui-88b909b04ec43443514867f83171cbc9760bb638.tar.gz jquery-ui-88b909b04ec43443514867f83171cbc9760bb638.zip |
Autocomplete unit tests: Replace unreliable setTimeout with gobal ajax event handler
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/autocomplete/autocomplete_options.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/autocomplete/autocomplete_options.js b/tests/unit/autocomplete/autocomplete_options.js index 6639e9014..c5aa7c961 100644 --- a/tests/unit/autocomplete/autocomplete_options.js +++ b/tests/unit/autocomplete/autocomplete_options.js @@ -120,7 +120,7 @@ function source_test(source, async) { } if (async) { stop(); - setTimeout(result, 100); + $(document).one("ajaxStop", result); } else { result(); } |