1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-13 02:04:35 +02:00

Various minor updates

This commit is contained in:
Ryan Cramer
2022-11-25 14:27:36 -05:00
parent 9bb9d71729
commit 9c3d03c4a1
5 changed files with 270 additions and 238 deletions

View File

@@ -1353,7 +1353,7 @@ function InputfieldDependencies($target) {
// also allow for matching a "0" as an unchecked value, but only if there's isn't already an input with that value
if(($field.attr('type') == 'checkbox' || $field.attr('type') == 'radio') && !$field.is(":checked")) {
if($("#Inputfield_" + conditionField + "_0").length == 0) {
if($("#Inputfield_" + conditionField + "_0").length == 0 && $('#' + conditionField + '_0').length == 0) {
values[1] = '0';
}
}

File diff suppressed because one or more lines are too long