mirror of
https://github.com/processwire/processwire.git
synced 2025-08-24 15:23:11 +02:00
Fix issue processwire/processwire-issues#646 where repeater trash icon click not triggering InputfieldStateChanged on InputfieldRepeater on case one forgets to save their changes
This commit is contained in:
@@ -93,6 +93,7 @@ function InputfieldRepeater($) {
|
||||
//$item.toggleClass('InputfieldStateCollapsed', 100);
|
||||
}
|
||||
$item.addClass('InputfieldRepeaterDeletePending');
|
||||
$item.closest('.Inputfield').addClass('InputfieldStateChanged');
|
||||
}
|
||||
$header.find('.InputfieldRepeaterItemControls').css('background-color', $header.css('background-color'));
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user