Skip to content
Permalink
Browse files

Item12180: Another stab at skipping history.pushState on IE

git-svn-id: http://svn.foswiki.org/trunk@15941 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information...
TimotheLitt TimotheLitt
TimotheLitt authored and TimotheLitt committed Nov 7, 2012
1 parent 59bd41c commit e9f8dc2456095291397e3e4a376eef3dcb313262
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/lib/Foswiki/Configure/resources/scripts.js
@@ -304,7 +304,7 @@ var configure = (function ($) {
* but it comes it a lot of baggage. For now, just skip this for browsers that don't support
* window.history.
*/
if( window.history ) {
if( window.history && window.history.pushState ) {
if (subId !== undefined) {
subName = subId.split("$")[1];
window.history.pushState(undefined, "Configure / " + mainId + " / " + subName, url + "#" + subId);

0 comments on commit e9f8dc2

Please sign in to comment.
You can’t perform that action at this time.