1
0
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:
Ryan Cramer
2018-08-07 06:02:58 -04:00
parent 683e24e010
commit 6cc5a01cf5
2 changed files with 2 additions and 1 deletions

View File

@@ -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