Disable unused filter fields so they don't get submitted.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5277 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a80b909cc8
commit
4641716771
|
@ -21,10 +21,14 @@ function toggle_filter(field) {
|
||||||
|
|
||||||
if (check_box.checked) {
|
if (check_box.checked) {
|
||||||
Element.show("operators_" + field);
|
Element.show("operators_" + field);
|
||||||
|
Form.Element.enable("operators_" + field);
|
||||||
|
Form.Element.enable("values_" + field);
|
||||||
toggle_operator(field);
|
toggle_operator(field);
|
||||||
} else {
|
} else {
|
||||||
Element.hide("operators_" + field);
|
Element.hide("operators_" + field);
|
||||||
Element.hide("div_values_" + field);
|
Element.hide("div_values_" + field);
|
||||||
|
Form.Element.disable("operators_" + field);
|
||||||
|
Form.Element.disable("values_" + field);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue