Author: nbelaevski
Date: 2008-01-22 21:07:03 -0500 (Tue, 22 Jan 2008)
New Revision: 5552
Modified:
trunk/ui/gmap/src/main/templates/gmap.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1978
Modified: trunk/ui/gmap/src/main/templates/gmap.jspx
===================================================================
--- trunk/ui/gmap/src/main/templates/gmap.jspx 2008-01-23 02:05:09 UTC (rev 5551)
+++ trunk/ui/gmap/src/main/templates/gmap.jspx 2008-01-23 02:07:03 UTC (rev 5552)
@@ -41,7 +41,7 @@
function __initGMap() { __initGmapdiv("#{map}","#{clientId}",
"#{warningMessage}");
__applyGmapparam("#{map}",#{lat},
#{lng},#{zoom},#{mapType},#{enableDragging},#{enableInfoWindow},#{enableDoubleClickZoom},#{enableContinuousZoom},#{isGMapType},#{isGScale},#{isGLarge});
- var userfunc = new Function('event', '#{oninit}');
userfunc();};__addLoadEvent(__initGMap);__addUnLoadEvent(GUnload);
+ var userfunc = function(event) { #{oninit} };
userfunc();};__addLoadEvent(__initGMap);__addUnLoadEvent(GUnload);
//]]>
</script>
</div>