Try to avoid a syntax error in IE

This commit is contained in:
Nathan Gray 2015-03-09 22:46:31 +00:00
parent a9af75f416
commit 3eb9353b9d

View File

@ -17,7 +17,10 @@
*/
// Need CSS, or it doesn't really work
if(typeof egw != 'undefined') egw(window).includeCSS(egw.webserverUrl + "/phpgwapi/js/egw_action/test/skins/dhtmlxmenu_egw.css");
if(typeof egw != 'undefined')
{
egw(window).includeCSS(egw.webserverUrl + "/phpgwapi/js/egw_action/test/skins/dhtmlxmenu_egw.css");
}
function egwMenuImpl(_structure)
{
//Create a new dhtmlxmenu object