From 2c28d9fe2f85b6e5fd2bb65037dc2a03410f7f0c Mon Sep 17 00:00:00 2001 From: Malcolm Robb Date: Thu, 26 Sep 2013 12:59:46 +0100 Subject: [PATCH] IE 8/9 Bugs in Web interface *DISCLAIMER* I didn't write any of this code initially, I've never tried to use it, and I don't understand Java Script at all. In-fact I hate the wretched stuff. Anyway, it appears that no-one has bothered to test any of the Web interface code using Microsoft Internet Explorer 8 or 9. I've attempted to hack out the sections of the code that are causing problems, and at least the web interface now seems to run. However, for some reason the planes never move - I know this must be a bug, but I don't know how to fix it. Most of the errors relate to trailing commas. My guess it that some Java engines don't mind trailing commas, but that the Microsoft ones do. There are also some undefined modules (untrackedDeveloperSettings) and functions (console.log) which I guess those who wrote the code have on their machines, but forgot to include in the public distribution. I've no idea how to fix this, so I've just hacked them out of the code. --- public_html/gmap.html | 3 +-- public_html/options.js | 2 +- public_html/planeObject.js | 9 +++------ public_html/script.js | 4 ++-- 4 files changed, 7 insertions(+), 11 deletions(-) diff --git a/public_html/gmap.html b/public_html/gmap.html index 7f311ed..80afe02 100644 --- a/public_html/gmap.html +++ b/public_html/gmap.html @@ -6,7 +6,6 @@ - @@ -22,7 +21,6 @@
-