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:26:51 +00:00
parent 122ca4ade9
commit 22210227b7

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