mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed var names in LeftAndMain.js
This commit is contained in:
parent
e6aa9ae017
commit
83adffd7cd
@ -253,7 +253,7 @@ jQuery.noConflict();
|
||||
// Simulates a redirect on an ajax response - just exchange the URL without re-requesting it
|
||||
if(window.History.enabled) {
|
||||
var url = xhr.getResponseHeader('X-ControllerURL');
|
||||
if(url) window.history.replaceState({}, '', url);
|
||||
if(url) window.History.replaceState({}, '', url);
|
||||
}
|
||||
|
||||
self.trigger('afterstatechange', {data: data, status: status, xhr: xhr, element: newContentEl});
|
||||
|
Loading…
Reference in New Issue
Block a user