WordPress.org

Make WordPress Core

Changeset 28147


Ignore:
Timestamp:
04/16/2014 03:05:52 AM (5 years ago)
Author:
nacin
Message:

Theme Installer: Properly call router navigation.

props gcorne.
see #27055.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/theme.js

    r28141 r28147  
    11801180    navigate: function() {
    11811181        if ( Backbone.history._hasPushState ) {
    1182             Backbone.Router.navigate.apply( this, arguments );
     1182            Backbone.Router.prototype.navigate.apply( this, arguments );
    11831183        }
    11841184    }
     
    15831583    navigate: function() {
    15841584        if ( Backbone.history._hasPushState ) {
    1585             Backbone.Router.navigate.apply( this, arguments );
     1585            Backbone.Router.prototype.navigate.apply( this, arguments );
    15861586        }
    15871587    }
Note: See TracChangeset for help on using the changeset viewer.