Fixed visual test for Autocomplete to include select event. Test for #5405 Autocomplete: select event not triggered when mousedown duration > blur timeout

This commit is contained in:
jzaefferer 2010-05-15 16:09:12 +02:00
parent 0460b46c1c
commit bf673476ee

View File

@ -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);
}
});
}