Theme Installer: Properly call router navigation.
props gcorne. see #27055. Built from https://develop.svn.wordpress.org/trunk@28147 git-svn-id: http://core.svn.wordpress.org/trunk@27978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e23f57ec56
commit
f5c0ad0115
|
@ -1179,7 +1179,7 @@ themes.Router = Backbone.Router.extend({
|
||||||
|
|
||||||
navigate: function() {
|
navigate: function() {
|
||||||
if ( Backbone.history._hasPushState ) {
|
if ( Backbone.history._hasPushState ) {
|
||||||
Backbone.Router.navigate.apply( this, arguments );
|
Backbone.Router.prototype.navigate.apply( this, arguments );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1582,7 +1582,7 @@ themes.InstallerRouter = Backbone.Router.extend({
|
||||||
|
|
||||||
navigate: function() {
|
navigate: function() {
|
||||||
if ( Backbone.history._hasPushState ) {
|
if ( Backbone.history._hasPushState ) {
|
||||||
Backbone.Router.navigate.apply( this, arguments );
|
Backbone.Router.prototype.navigate.apply( this, arguments );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue