From 5bb170b40e4a5b77935b2d44c8893e42faba1b41 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Wed, 13 Jan 2010 09:30:12 +0000 Subject: [PATCH] fixing a problem with multiple (or size>1) select fields in/for IE (selectbox hack) --- etemplate/js/etemplate.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etemplate/js/etemplate.js b/etemplate/js/etemplate.js index 2a9e5704e3..4fd4eff014 100644 --- a/etemplate/js/etemplate.js +++ b/etemplate/js/etemplate.js @@ -305,7 +305,8 @@ function dropdown_menu_hack(el) { if(el.runtimeStyle.behavior.toLowerCase()=="none"){return;} el.runtimeStyle.behavior="none"; - + if (el.multiple ==1) {return;} + if (el.size > 1) {return;} var ie5 = (document.namespaces==null); el.ondblclick = function(e) {