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 2007/05/23 22:31:46 UTC

svn commit: r541107 - /incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js

Author: mturyn
Date: Wed May 23 15:31:45 2007
New Revision: 541107

URL: http://svn.apache.org/viewvc?view=rev&rev=541107
Log:
Fixed all instances' sharing the same layout model.

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

Modified: incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js?view=diff&rev=541107&r1=541106&r2=541107
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js Wed May 23 15:31:45 2007
@@ -98,7 +98,6 @@
 	widgetType: "TreeTable",
 	isContainer: false,
 	defaultCellInfo: {_text:""},
-	_tableLayoutModel: {},
 	
 // Debugging	
 //	_ctr:-1 ,
@@ -113,17 +112,12 @@
 	
 	postCreate: function(){   //debug::this.loggit('postCreate') ;
 		xap.widgets.dojo.TreeTable.superclass.postCreate.apply(this,arguments) ;
-		this._created = true ;	
+		this._created = true ;
+		if( !this._tableLayoutModel ){
+			this._tableLayoutModel = {} ;
+		}	
 // debugging
-// debug 
 //window.foo = this ;
-
-
-//if(location.href.indexOf("nested")>-1 ){
-//Xap.logString=""+location.href.split("/").pop()+":^"
-//+dojo.render.html.UA +":\\n" ;
-//	setTimeout("prompt('',Xap.logString);",10000) ;
-//}
 	},