incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mtu...@apache.org
Subject svn commit: r433779 - /incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js
Date Tue, 22 Aug 2006 22:24:45 GMT
Author: mturyn
Date: Tue Aug 22 15:24:43 2006
New Revision: 433779

URL: http://svn.apache.org/viewvc?rev=433779&view=rev
Log:
Altered to fit with newer bridge architecture, under which we're not altering the peers.

Modified:
    incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js

Modified: incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js?rev=433779&r1=433778&r2=433779&view=diff
==============================================================================
--- incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js (original)
+++ incubator/xap/trunk/WebContent/examples/htmlEmbedding/palettesAndButtonHandlers.js Tue
Aug 22 15:24:43 2006
@@ -29,7 +29,7 @@
 	
 	var bridge = clientEvent.session.getUiDocumentHandler().getHandlerForElement( cpEl );	
 
-	var colour = bridge.getAttribute( "color" ).replace(/\s/g,"") ;	
+	var colour = bridge.getSelectedColor().replace(/\s/g,"") ;	
 
 	var elementId = clientEvent.source.getAttribute("displayerId") ;
 	var element = document.getElementById( elementId );



Mime
View raw message