summaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorjzaefferer <joern.zaefferer@gmail.com>2010-05-15 16:09:12 +0200
committerjzaefferer <joern.zaefferer@gmail.com>2010-05-15 16:09:12 +0200
commitbf673476ee6a20cb1ca4f7bd7e8c78ed008a27f6 (patch)
treefe732e8510de9e17ec0ec402702e349e72d66c4d /tests/visual
parent0460b46c1c12bd77d403c6348be16bd96030bd94 (diff)
downloadjquery-ui-bf673476ee6a20cb1ca4f7bd7e8c78ed008a27f6.tar.gz
jquery-ui-bf673476ee6a20cb1ca4f7bd7e8c78ed008a27f6.zip
Fixed visual test for Autocomplete to include select event. Test for #5405 Autocomplete: select event not triggered when mousedown duration > blur timeout
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/autocomplete/autocomplete.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/visual/autocomplete/autocomplete.html b/tests/visual/autocomplete/autocomplete.html
index c39d032ff..d30b2078f 100644
--- a/tests/visual/autocomplete/autocomplete.html
+++ b/tests/visual/autocomplete/autocomplete.html
@@ -40,8 +40,11 @@
close: function() {
log("Hiding suggestions");
},
+ select: function(event, ui) {
+ log("Selected: " + ui.item.value);
+ },
change: function(event, ui) {
- log(ui.item ? ("Selected: " + ui.item.value) : "Nothing selected, input was " + this.value);
+ log(ui.item ? ("Changed to: " + ui.item.value) : "Nothing selected, input was " + this.value);
}
});
}