incubator-xap-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmarga...@apache.org
Subject svn commit: r485518 - /incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js
Date Mon, 11 Dec 2006 06:00:47 GMT
Author: jmargaris
Date: Sun Dec 10 22:00:46 2006
New Revision: 485518

URL: http://svn.apache.org/viewvc?view=rev&rev=485518
Log:
IE fixes

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

Modified: incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js?view=diff&rev=485518&r1=485517&r2=485518
==============================================================================
--- incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/src/xap/widgets/dojo/TreeTable.js Sun Dec 10 22:00:46 2006
@@ -224,7 +224,10 @@
 		var contentHt = "100%";
 		if ( this.domNode.clientHeight != "100%" ){
 			var ht = this.domNode.clientHeight - this.headerDiv.clientHeight;
-			if ( ht != 0 )
+			
+			//in IE the calculated height can be negative because
+			//clientHeight can be zero
+			if ( ht > 0 )
 				contentHt = ht + "px";
 		}
 		dojo.lang.mixin(this.scrollDiv.style,{



Mime
View raw message