[wp-trac] [WordPress Trac] #20337: On theme customizer, back button should close preview mode
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 9 16:39:37 UTC 2012
#20337: On theme customizer, back button should close preview mode
----------------------------+--------------------------
Reporter: jane | Owner: koopersmith
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.4
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+--------------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 nacin]:
> I think window.history was a reference to history.pushState().
Ah, thanks. I thought of `pushState()`, but was confused by the fact that
it's not used anywhere in core yet. Seems `replaceState()` was once added
in [16615], but then removed in [18028], along with `list-table.dev.js`.
Wouldn't using `pushState()` introduce an inconsistent behaviour between
browsers, since it's not supported by IE 9? Or should we bring in some
external library or another workaround as a fallback?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20337#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list