mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 07:47:00 +02:00
Fix issue processwire/processwire-issues#2026
This commit is contained in:
@@ -2065,8 +2065,10 @@ function InputfieldDependencies($target) {
|
|||||||
var values = [];
|
var values = [];
|
||||||
|
|
||||||
// For repeaters PR #255
|
// For repeaters PR #255
|
||||||
if(field.indexOf('forpage.') === 0) {
|
if(field.indexOf('forpage_repeater') === 0) {
|
||||||
field = field.replace('forpage.', '').replace(/\_repeater\d+/g, '');
|
field = field.replace(/forpage_repeater\d+\./g, '');
|
||||||
|
} else if(field.indexOf('forpage.') === 0) {
|
||||||
|
field = field.replace('forpage.', '').replace(/_repeater\d+/g, '');
|
||||||
}
|
}
|
||||||
|
|
||||||
// detect OR selector in field
|
// detect OR selector in field
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user