You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-commits@incubator.apache.org by mt...@apache.org on 2006/11/17 02:58:45 UTC

svn commit: r476033 - /incubator/xap/trunk/src/xap/bridges/dojo/TextFieldBridge.js

Author: mturyn
Date: Thu Nov 16 18:58:44 2006
New Revision: 476033

URL: http://svn.apache.org/viewvc?view=rev&rev=476033
Log:
[Re?-]added a writeBackAttribute to onKeyUp so that element's text attribute will 
change with each keystroke.

Modified:
    incubator/xap/trunk/src/xap/bridges/dojo/TextFieldBridge.js

Modified: incubator/xap/trunk/src/xap/bridges/dojo/TextFieldBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/bridges/dojo/TextFieldBridge.js?view=diff&rev=476033&r1=476032&r2=476033
==============================================================================
--- incubator/xap/trunk/src/xap/bridges/dojo/TextFieldBridge.js (original)
+++ incubator/xap/trunk/src/xap/bridges/dojo/TextFieldBridge.js Thu Nov 16 18:58:44 2006
@@ -93,6 +93,7 @@
 		clientEvent.text = text;
 		clientEvent.originalEvent = event ;
 		this.lastKeyCode = event.keyCode ;	
+		this.writeBackAttribute(xap.xml.XmlTokens.TEXT,text);			
 		this.fireEvent("onTextChange",null,null,clientEvent);
 	}
 }