Changeset 40076
- Timestamp:
- 02/17/2017 09:59:37 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/revisions.js
r36709 r40076 412 412 if ( window.history && window.history.pushState ) { 413 413 this.router = new revisions.Router({ model: this }); 414 if ( Backbone.History.started ) { 415 Backbone.history.stop(); 416 } 414 417 Backbone.history.start({ pushState: true }); 415 418 } -
trunk/src/wp-admin/js/theme.js
r39586 r40076 1432 1432 this.routes(); 1433 1433 1434 if ( Backbone.History.started ) { 1435 Backbone.history.stop(); 1436 } 1434 1437 Backbone.history.start({ 1435 1438 root: themes.data.settings.adminUrl, … … 1885 1888 this.routes(); 1886 1889 1890 if ( Backbone.History.started ) { 1891 Backbone.history.stop(); 1892 } 1887 1893 Backbone.history.start({ 1888 1894 root: themes.data.settings.adminUrl, -
trunk/src/wp-includes/js/media-grid.js
r37722 r40076 845 845 // Verify pushState support and activate 846 846 if ( window.history && window.history.pushState ) { 847 if ( Backbone.History.started ) { 848 Backbone.history.stop(); 849 } 847 850 Backbone.history.start( { 848 851 root: window._wpMediaGridSettings.adminUrl, -
trunk/src/wp-includes/js/media/views/frame/manage.js
r37722 r40076 260 260 // Verify pushState support and activate 261 261 if ( window.history && window.history.pushState ) { 262 if ( Backbone.History.started ) { 263 Backbone.history.stop(); 264 } 262 265 Backbone.history.start( { 263 266 root: window._wpMediaGridSettings.adminUrl,
Note: See TracChangeset
for help on using the changeset viewer.