Loading
Issue #3611072: Contextual edit mode toggle disappears on cached page loads
Adds an initial count of contextual links already present in the collection, after the toolbar views are constructed, so the edit mode toggle stays visible when contextual links are restored from sessionStorage on cached page loads.
Includes a FunctionalJavascript regression test (EditModeTest::testEditModeToggleVisibleAfterReload). See the issue summary for the full root-cause analysis.
Closes #3611072