Consume enter keypress in search to prevent browser from triggering clicks on link button.

This commit is contained in:
Nathan Gray 2015-10-26 15:58:23 +00:00
parent c4c78e0375
commit 865ba17efb

View File

@ -695,7 +695,7 @@ var et2_link_entry = et2_inputWidget.extend(
self.search.autocomplete("option","minLength", 0);
self.search.autocomplete("search");
self.search.autocomplete("option","minLength", self.minimum_characters);
e.stopPropagation();
return false;
}
});