Fixed code for auto-reducing the grid rows, removed debug messages

This commit is contained in:
Andreas Stöckel
2011-09-05 09:13:58 +00:00
parent 7ab7b51bc8
commit a13dfef19e
4 changed files with 11 additions and 18 deletions

View File

@ -129,7 +129,6 @@ var et2_dataview_gridContainer = Class.extend({
// Rebuild the column stylesheets
this.columnMgr.setTotalWidth(_w - this.scrollbarWidth);
et2_debug("log", _w - this.scrollbarWidth);
this._updateColumns();
}
@ -305,9 +304,6 @@ var et2_dataview_gridContainer = Class.extend({
totalWidth += col.width;
et2_debug("log", col.divClass, " cw: ", columnWidth, " hw: ",
headerWidth, " tw: ", totalWidth);
first = false;
}
else
@ -412,10 +408,6 @@ var et2_dataview_gridContainer = Class.extend({
this.columnBorderWidth = this.constructor.prototype.columnBorderWidth =
this._getColumnBorderWidth(clone);
et2_debug("log", "Scrollbar width: ", this.scrollbarWidth);
et2_debug("log", "Header border width: ", this.headerBorderWidth);
et2_debug("log", "Column border width: ", this.columnBorderWidth);
// Remove the cloned DOM-Node again from the outer body
clone.remove();
}