mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 04:43:12 +03:00
23ba543abd
refs https://github.com/TryGhost/Toolbox/issues/135 - The reason the test **settings** test was failing when the force start flag was removed in the **custom themes** was the bridge! The bridge was trying to execute function on the frontend when the boot was done without initializing the frontend. The setting test was changing locale and the timezone which triggered events calling up on frontend components - we clearly don't want to do this when the instance is booted without the frontend - To make event initialization conditional moved it to the "init". This way the event listeners are only set up when we boot with the "frontend" flag set to true |
||
---|---|---|
.. | ||
admin | ||
content |