Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR Temporarily reverted X-ControllerURL push state, as the header …

…doesn't get set

correctly in LeftAndMain::handleRequest() correctly. This fixes saving
pages until X-ControllerURL has been corrected.
  • Loading branch information...
commit f8a6db8d31c9d902b84bb07b4bd08c18d0215a43 1 parent a2979f0
Sean Harvey halkyon authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 admin/javascript/LeftAndMain.Content.js
9 admin/javascript/LeftAndMain.Content.js
View
@@ -164,13 +164,6 @@
self.submitForm_responseHandler(form, xmlhttp.responseText, status, xmlhttp, formData);
}
- // Simulates a redirect on an ajax response - just exchange the URL without re-requesting it.
- // Causes non-pushState browser to re-request the URL, so ignore for those.
- if(window.History.enabled && !History.emulated.pushState) {
- var url = xmlhttp.getResponseHeader('X-ControllerURL');
- if(url) window.History.replaceState({}, '', url);
- }
-
// Re-init tabs (in case the form tag itself is a tabset)
if(self.hasClass('ss-tabset')) self.removeClass('ss-tabset').addClass('ss-tabset');
@@ -317,4 +310,4 @@
}
});
-})(jQuery);
+})(jQuery);
Please sign in to comment.
Something went wrong with that request. Please try again.