[wp-trac] [WordPress Trac] #36613: Browser back button doesn't work in Theme Browser

WordPress Trac noreply at wordpress.org
Wed Mar 1 12:40:15 UTC 2017


#36613: Browser back button doesn't work in Theme Browser
---------------------------------------+------------------------------
 Reporter:  dd32                       |       Owner:  adamsilverstein
     Type:  defect (bug)               |      Status:  reopened
 Priority:  normal                     |   Milestone:  4.8
Component:  Themes                     |     Version:
 Severity:  normal                     |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:  javascript
---------------------------------------+------------------------------

Comment (by adamsilverstein):

 @afercia [attachment:36613.3.diff] fixes this issue, altough it is a bit
 of a kludge.

 The issue at hand is triggering the close of the overlay/preview when
 using browser history to reach the new theme page (could be back or
 forward). The new code simulates a click on the close button and fixes the
 issue where the model underlying the preview gets reset incorrectly. I
 wanted to put this up for review and also keep trying to determine a
 better approach.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36613#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list