Author: nbelaevski
Date: 2008-01-22 20:32:07 -0500 (Tue, 22 Jan 2008)
New Revision: 5549
Modified:
branches/3.1.x/ui/virtualEarth/src/main/templates/virtualEarth.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1977
Modified: branches/3.1.x/ui/virtualEarth/src/main/templates/virtualEarth.jspx
===================================================================
--- branches/3.1.x/ui/virtualEarth/src/main/templates/virtualEarth.jspx 2008-01-23
01:31:21 UTC (rev 5548)
+++ branches/3.1.x/ui/virtualEarth/src/main/templates/virtualEarth.jspx 2008-01-23
01:32:07 UTC (rev 5549)
@@ -30,7 +30,7 @@
//<![CDATA[
function __initVE() { __initVirtualEarthdiv("#{map}","#{clientId}");
-var userfunc = new Function('event', '#{onLoadMap}');
+var userfunc = function (event) { #{onLoadMap} };
__applyVirtualEarthparam("#{map}",userfunc, #{lat}, #{lng},#{zoom},
#{mapStyle},#{dashboardSize});
}
__addLoadEvent(__initVE);