зеркало из https://github.com/mozilla/gecko-dev.git
Bug 343884 Column order was reset on restart r=enn sr=jag
This commit is contained in:
Родитель
21ece0d080
Коммит
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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче