-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Description
Short description of the issue
InputfieldPageTable.js tries to trigger a 'reloaded' event for an element that doesn't exist:
https://github.com/processwire/processwire/blob/master/wire/modules/Inputfield/InputfieldPageTable/InputfieldPageTable.js#L18
$container is the element with class 'InputfieldPageTableContainer', which has no child elements with class 'Inputfield'.
Then an event handler is attached:
https://github.com/processwire/processwire/blob/master/wire/modules/Inputfield/InputfieldPageTable/InputfieldPageTable.js#L173-L175
But this never fires because no reloaded event is triggered for elements with class 'InputfieldPageTable'.
Optional: Suggestion for a possible fix
Perhaps line 18 should be:
$container.parents(".InputfieldPageTable").trigger('reloaded', ['InputfieldPageTable']);
Setup/Environment
- ProcessWire version: 3.0.39