Author: nbelaevski
Date: 2008-01-22 20:41:41 -0500 (Tue, 22 Jan 2008)
New Revision: 5550
Modified:
trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1977
Modified: trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx
===================================================================
--- trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx 2008-01-23 01:32:07 UTC
(rev 5549)
+++ trunk/ui/virtualEarth/src/main/templates/virtualEarth.jspx 2008-01-23 01:41:41 UTC
(rev 5550)
@@ -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);