mirror of
https://github.com/processwire/processwire.git
synced 2025-08-20 05:21:29 +02:00
Add an update for processwire/processwire-issues#1873
This commit is contained in:
@@ -1152,6 +1152,10 @@ function InputfieldDependencies($target) {
|
|||||||
consoleLog('getCheckboxFieldAndValue(see-next-line, ' + conditionField + ', ' + conditionSubfield + ')');
|
consoleLog('getCheckboxFieldAndValue(see-next-line, ' + conditionField + ', ' + conditionSubfield + ')');
|
||||||
consoleLog(condition)
|
consoleLog(condition)
|
||||||
|
|
||||||
|
if(conditionSubfield === '' && trimValue(condition.value) === '') {
|
||||||
|
conditionSubfield = 'count';
|
||||||
|
}
|
||||||
|
|
||||||
// first check if we've got a count subfield, because we'll be counting checked inputs for
|
// first check if we've got a count subfield, because we'll be counting checked inputs for
|
||||||
// those rather than checking the actual values
|
// those rather than checking the actual values
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user