From 16dcb16dc3b09fa1a48af22b4edd7325b8f38d5e Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Mon, 7 Jul 2014 14:06:46 +0100 Subject: [PATCH] Use mkws.log instead of console.log in the code that sets window.name, so that this doesn't break IE8. Fixes bug MKWS-77 yet AGAIN. Perhaps instead of constantly closing and re-opening this, it's time to make a new JIRA project "MKWS compatibility with IE8", and file new bugs in that area every time we break this? Meanwhile, see http://theie8countdown.com/ --- src/mkws-core.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mkws-core.js b/src/mkws-core.js index f90c759..f09bf16 100644 --- a/src/mkws-core.js +++ b/src/mkws-core.js @@ -113,12 +113,12 @@ mkws.log = function(string) { // navigation. pz2.js picks this up and uses it as part of the // cookie-name, to ensure each tab gets its own session. if (window.name) { - console.log("Using existing window.name '" + window.name + "'"); + mkws.log("Using existing window.name '" + window.name + "'"); } else { // Ten chars from 26 alpha-numerics = 36^10 = 3.65e15 combinations. // At one per second, it will take 116 million years to duplicate a session window.name = Math.random().toString(36).slice(2, 12); - console.log("Generated new window.name '" + window.name + "'"); + mkws.log("Generated new window.name '" + window.name + "'"); } -- 1.7.10.4