This website requires JavaScript.
Explore
Help
Sign In
TryGhost
/
Ghost
Watch
1
Star
0
Fork
0
You've already forked Ghost
mirror of
https://github.com/TryGhost/Ghost.git
synced
2024-12-20 17:32:15 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
53235a2c33
Ghost
/
ghost
/
admin
/
app
/
components
/
gh-billing-iframe.hbs
1 line
74 B
Handlebars
Raw
Normal View
History
Unescape
Escape
Fixed browser URL syncronization with embeded iframe state no issue - Opted in to use explicit `hisotry.replaceState` and setting iframe's `src` using assignment instead of tracking it through computed property. This allows for tighter control over when iframe's history is updated which was causing problems when `src` was bound to computed property - Added billing page metadata. This way browser history records appear with nicer signature - Removed "update button" iframe and rewrote "global iframe" to not use modals. This allows to have single iframe on a page, which simplifies `postMessage` communication and preserve history inside iframe to be able to navigate it after closure - Added route change handler responding to BMA app route changes. Allows to sync browser URL visible to the user with active route in BMA iframe. The sync is based on `hisory.replaceState` method that makes sure singular history records are kept in the browser history - Added nested wildcard billing route. This is meant to catch all the nested routes inside of BMA iframe
2020-05-22 05:44:37 +03:00
<iframe id="billing-frame" class="billing-frame" frameborder="0"></iframe>
Reference in New Issue
Copy Permalink