From cf707cd12222e69b033f985e024de5160892ba3f Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Fri, 22 Feb 2013 09:54:23 +0100 Subject: [PATCH] [gen] Bugfixes for IE8. --- gen/ui/appy.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gen/ui/appy.js b/gen/ui/appy.js index 60963bc..c9ea01b 100644 --- a/gen/ui/appy.js +++ b/gen/ui/appy.js @@ -34,13 +34,13 @@ function setLoginVars() { var isIe = (navigator.appName == "Microsoft Internet Explorer"); -function getElementsHavingName(name) { +function getElementsHavingName(tag, name) { if (!isIe) return document.getElementsByName(name); - var tables = document.getElementsByTagName('table'); + var elems = document.getElementsByTagName(tag); var res = new Array(); - for (var i=0; i= 0) { masterName = getSlaveInfo(slaves[i], 'masterName');