Bug 343884 Column order was reset on restart r=enn sr=jag

This commit is contained in:
neil%parkwaycc.co.uk 2006-08-14 10:28:15 +00:00
Родитель 21ece0d080
Коммит e5b3954d8b
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -142,8 +142,8 @@
// an odd number and 2 positions above its next sibling
var cols = [];
var i;
for (i = 0; i < this.columns.count; ++i)
cols.push(this.columns[i].element);
for (var col = this.columns.getFirstColumn(); col; col = col.getNext())
cols.push(col.element);
for (i = 0; i < cols.length; ++i)
cols[i].setAttribute("ordinal", (i*2)+1);

Просмотреть файл

@ -125,8 +125,8 @@
// an odd number and 2 positions above its next sibling
var cols = [];
var i;
for (i = 0; i < this.columns.count; ++i)
cols.push(this.columns[i].element);
for (var col = this.columns.getFirstColumn(); col; col = col.getNext())
cols.push(col.element);
for (i = 0; i < cols.length; ++i)
cols[i].setAttribute("ordinal", (i*2)+1);