mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-29 17:40:42 +00:00
Bug 343884 Column order was reset on restart r=enn sr=jag
This commit is contained in:
parent
21ece0d080
commit
e5b3954d8b
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user