You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
app.modal standardized entity-modal support: optional tabs (nav-tabs + tab-content, matching the pattern already used for proxy's host modal), optional footer (metaHtml left / buttonsHtml right — the footer element is entirely absent when omitted, and any stale footer from a previous open() call is removed so it can't leak into a later bare caller), and optional url (pushes a linkable path on open, restores the prior path on close, and closes the modal on browser Back/Forward via popstate instead of re-pushing history). All three are opt-in — existing {title, bodyHtml, size, onShown} callers are unaffected.
app.modal.showTab(id), app.modal.on(event, selector, handler) (a delegated binding that survives open()'s per-call DOM rebuild), app.modal.deepLinkSlug(basePath), app.modal.formatAudit(record, {formatDate}), and app.modal.footerButtons({onSave, saveLabel, closeLabel, extraHtml}).