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');