[richfaces-svn-commits] JBoss Rich Faces SVN: r5551 - branches/3.1.x/ui/gmap/src/main/templates.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Tue Jan 22 21:05:09 EST 2008


Author: nbelaevski
Date: 2008-01-22 21:05:09 -0500 (Tue, 22 Jan 2008)
New Revision: 5551

Modified:
   branches/3.1.x/ui/gmap/src/main/templates/gmap.jspx
Log:
http://jira.jboss.com/jira/browse/RF-1978

Modified: branches/3.1.x/ui/gmap/src/main/templates/gmap.jspx
===================================================================
--- branches/3.1.x/ui/gmap/src/main/templates/gmap.jspx	2008-01-23 01:41:41 UTC (rev 5550)
+++ branches/3.1.x/ui/gmap/src/main/templates/gmap.jspx	2008-01-23 02:05:09 UTC (rev 5551)
@@ -38,7 +38,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>




More information about the richfaces-svn-commits mailing list