[fusion-commits] r2590 - trunk/widgets/GoogleStreetViewer

svn_fusion at osgeo.org svn_fusion at osgeo.org
Tue Sep 11 20:18:50 PDT 2012


Author: liuar
Date: 2012-09-11 20:18:49 -0700 (Tue, 11 Sep 2012)
New Revision: 2590

Modified:
   trunk/widgets/GoogleStreetViewer/GoogleStreetView.templ
Log:
On behalf of Ted Yang.
fix the ticket 2101: http://trac.osgeo.org/mapguide/ticket/2101
	
The submission is mainly implement the RFC 125:http://trac.osgeo.org/mapguide/wiki/MapGuideRfc125
part 5:
fix the IE problem, in IE, typof a funcion return "Object"


Modified: trunk/widgets/GoogleStreetViewer/GoogleStreetView.templ
===================================================================
--- trunk/widgets/GoogleStreetViewer/GoogleStreetView.templ	2012-09-10 10:05:37 UTC (rev 2589)
+++ trunk/widgets/GoogleStreetViewer/GoogleStreetView.templ	2012-09-12 03:18:49 UTC (rev 2590)
@@ -236,7 +236,7 @@
                 if(!widgetList) return;
                 for(var index = 0; index < widgetList.length; index++) {
                     var widget = widgetList[index];
-                    if(typeof(widget.setGoogleSVPage) == "function") {
+                    if(widget.setGoogleSVPage != null) {
                         widget.setGoogleSVPage(window);
                     }
                 }



More information about the fusion-commits mailing list