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/10/20 17:07:55 UTC

svn commit: r466208 - /incubator/xap/trunk/src/xap/widgets/dojo/TextField.js

Author: mturyn
Date: Fri Oct 20 10:07:54 2006
New Revision: 466208

URL: http://svn.apache.org/viewvc?view=rev&rev=466208
Log:
Removed background colour change on editability setting.

Modified:
    incubator/xap/trunk/src/xap/widgets/dojo/TextField.js

Modified: incubator/xap/trunk/src/xap/widgets/dojo/TextField.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/TextField.js?view=diff&rev=466208&r1=466207&r2=466208
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/TextField.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/TextField.js Fri Oct 20 10:07:54 2006
@@ -76,11 +76,11 @@
 			 var newVal = (val=="true")?true:false ;
 			 this.domNode.readOnly = newVal ;
 			 // Move this to css a.s.a.p:
-			 if( newVal=="true"){
-				this.domNode.style.backgroundColor= "#bbbbbb" ;
-			 } else {
-				this.domNode.style.backgroundColor= "#FFFFFF" ;		 
-			 }
+//			 if( newVal=="true"){
+//				this.domNode.style.backgroundColor= "#bbbbbb" ;
+//			 } else {
+//				this.domNode.style.backgroundColor= "#FFFFFF" ;		 
+//			 }
 		},
 		
 		isReadOnly: function(){