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 jm...@apache.org on 2007/10/12 21:22:23 UTC
svn commit: r584275 - in /incubator/xap/trunk/codebase/src/xap:
bridges/dojo/TableBridge.js widgets/dojo/TreeTable.js
Author: jmargaris
Date: Fri Oct 12 14:22:09 2007
New Revision: 584275
URL: http://svn.apache.org/viewvc?rev=584275&view=rev
Log:
From Michael Mikhaylov: Fix for table not showing up in FireFox.
Modified:
incubator/xap/trunk/codebase/src/xap/bridges/dojo/TableBridge.js
incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js
Modified: incubator/xap/trunk/codebase/src/xap/bridges/dojo/TableBridge.js
URL: http://svn.apache.org/viewvc/incubator/xap/trunk/codebase/src/xap/bridges/dojo/TableBridge.js?rev=584275&r1=584274&r2=584275&view=diff
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/bridges/dojo/TableBridge.js (original)
+++ incubator/xap/trunk/codebase/src/xap/bridges/dojo/TableBridge.js Fri Oct 12 14:22:09 2007
@@ -72,6 +72,7 @@
dojo.event.connect(this.getPeer(), "onDeselectRow",this,"onDeselectRow");
dojo.event.connect(this.getPeer(), "onExpandRow",this,"onExpandRow");
this._localCssRules = {};
+ this.getPeer()._rebuildTableLater();
};
xap.bridges.dojo.TableBridge.prototype.getPeerString = function(){
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?rev=584275&r1=584274&r2=584275&view=diff
==============================================================================
--- incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js (original)
+++ incubator/xap/trunk/codebase/src/xap/widgets/dojo/TreeTable.js Fri Oct 12 14:22:09 2007
@@ -51,7 +51,6 @@
this._rebuildRowsTask = null;
dojo.widget.HtmlWidget.call(this);
- this._rebuildTableLater();
this._selectedRowClass = "selectedRow";
this._alternateRowClass = "alternateRow";
this._tableCellClass = "tableCell";
@@ -378,12 +377,15 @@
var wh = dojo.html.getMarginBox(this.domNode);
+ /*
//if we have no width wait for onResized()
if (!wh.width){
window.clearTimeout(this._rebuildTableTask);
this._rebuildTableTask = null;
return;
}
+ */
+
this._initialResizePending = false;
this._rebuildHead();