MINOR Fixed var names in LeftAndMain.js

This commit is contained in:
Ingo Schommer 2012-03-30 15:26:04 +02:00
parent e6aa9ae017
commit 83adffd7cd

View File

@ -253,7 +253,7 @@ jQuery.noConflict();
// Simulates a redirect on an ajax response - just exchange the URL without re-requesting it // Simulates a redirect on an ajax response - just exchange the URL without re-requesting it
if(window.History.enabled) { if(window.History.enabled) {
var url = xhr.getResponseHeader('X-ControllerURL'); 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}); self.trigger('afterstatechange', {data: data, status: status, xhr: xhr, element: newContentEl});