Only call changeBy for "by" radio buttons, fixes problem with IE

- Legacy-Id: 3932
This commit is contained in:
Ole Laursen 2012-02-16 17:06:28 +00:00
parent 793bb146c9
commit e534194616

View file

@ -1,9 +1,7 @@
$(function () {
var form = jQuery("#search_form");
form.find(".search_field").click(function () {
changeBy();
});
form.find(".search_field input[name=by]").parents("label").click(changeBy);
form.find(".search_field").find("input,select")
.change(toggleSubmit).click(toggleSubmit).keyup(toggleSubmit);