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