Permalink
Browse files

Fixed visual test for Autocomplete to include select event. Test for …

…#5405 Autocomplete: select event not triggered when mousedown duration > blur timeout
  • Loading branch information...
1 parent 0460b46 commit bf673476ee6a20cb1ca4f7bd7e8c78ed008a27f6 @jzaefferer jzaefferer committed May 15, 2010
Showing with 4 additions and 1 deletion.
  1. +4 −1 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);
}
});
}

0 comments on commit bf67347

Please sign in to comment.