From af9df0faf4dfa04d7866e60ce4fa5ad58c15aa8b Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 26 Mar 2010 16:47:31 +0000 Subject: [PATCH] Fix for possibly undefined variable --- phpgwapi/js/jsapi/jsapi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/js/jsapi/jsapi.js b/phpgwapi/js/jsapi/jsapi.js index 3d8cee128e..4316838756 100644 --- a/phpgwapi/js/jsapi/jsapi.js +++ b/phpgwapi/js/jsapi/jsapi.js @@ -152,7 +152,7 @@ function dropdown_menu_hack(el) { if(el.runtimeStyle) { - if(enable_ie_dropdownmenuhack) { + if(typeof(enable_ie_dropdownmenuhack) !== 'undefined') { if (enable_ie_dropdownmenuhack==1){} else return; } else { return;