From 4316d2bb71a3eee54aa3bfda3dcdd07ec06e1b92 Mon Sep 17 00:00:00 2001 From: james Date: Mon, 3 Nov 2008 01:57:04 +0000 Subject: [PATCH] Fix translations dropdown to work in IE --- translationsdropdown.inc.php | 53 +++++++++++++++++++++++++++++------- 1 file changed, 43 insertions(+), 10 deletions(-) diff --git a/translationsdropdown.inc.php b/translationsdropdown.inc.php index ebb1c09..34e5612 100644 --- a/translationsdropdown.inc.php +++ b/translationsdropdown.inc.php @@ -42,6 +42,17 @@ var jsTranslateLangs=new Array(); } ?> +function selectVisibility(vis) { + //we'll always have form0=translationdropdownform, form1=langselectform, form2...infinity=forms on the page + for(x=2;x"; + selectVisibility("hidden"); + } translateOpen=!translateOpen; return false; @@ -198,19 +213,37 @@ function handleSaveResponse() -