incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbuff...@apache.org
Subject svn commit: r470557 - in /incubator/xap/trunk/src/xap/bridges/google: GoogleInfoWindowBridge.js GoogleMarkerBridge.js
Date Thu, 02 Nov 2006 22:17:36 GMT
Author: bbuffone
Date: Thu Nov  2 14:17:35 2006
New Revision: 470557

URL: http://svn.apache.org/viewvc?view=rev&rev=470557
Log:
I have updated the starting process of the XAP engine with the HTML page.
This changes is defined in emails from me on the 8/29.  
This changes break compatibilty with existing samples. 
To see how the new process works check out the new samples in 
the startup folder.

Modified:
    incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js
    incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js?view=diff&rev=470557&r1=470556&r2=470557
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleInfoWindowBridge.js Thu Nov  2 14:17:35
2006
@@ -68,7 +68,7 @@
     	    if (textAttribute!=null&&textAttribute!=""){
     		    parentPeer.openInfoWindowHtml(point, textAttribute);
             }else if (firstChild!=null&&firstChild.nodeValue!=null&&firstChild.nodeValue!=""){
-                parentPeer.openInfoWindowHtml(firstChild.nodeValue);
+                parentPeer.openInfoWindowHtml(point, firstChild.nodeValue);
             }
                          
         } catch ( e ) {

Modified: incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js?view=diff&rev=470557&r1=470556&r2=470557
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/google/GoogleMarkerBridge.js Thu Nov  2 14:17:35 2006
@@ -59,7 +59,7 @@
 xap.bridges.google.GoogleMarkerBridge.prototype.createPeer = function() {
 	var parent = this.getElement().getParent();
 	var handler = this.getUiContentHandler().getHandlerForElement( parent );
-	parentPeer = handler.getPeer();
+	var parentPeer = handler.getPeer();
 	
 	if ( parentPeer instanceof GMap2 ) {
     	try {



Mime
View raw message