to help customize the modal behavior, trigger an event when modal rendering is done
Details
Details
Diff Detail
Diff Detail
- Repository
- rRPK roundcubemail-plugins-kolab
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
I propose to name the event "calendar-event-dialog" and add dialog: $dialog argument. See also D218.
Comment Actions
I agree to add $dialog as arg, but what about renaming to "calendar-event-dialog-finish" or "calendar-event-dialog-end" ? The reason is today there is another hook called "calendar-event-init" in the beginning of the method "event_show_dialog"
Comment Actions
Well, there's code that is executed async when opening the dialog, so -finish/-end is not exactly true when you trigger the event. That's why I prefer a name without such a suffix.