зеркало из https://github.com/mozilla/gecko-dev.git
Bug 415521 ? when inserting into a sorted view we should insert at the end (for marco, r=dietrich, a=beltzner)
This commit is contained in:
Родитель
764465d990
Коммит
5a62f4fcb4
|
@ -542,6 +542,10 @@
|
||||||
container = lastSelected;
|
container = lastSelected;
|
||||||
index = -1;
|
index = -1;
|
||||||
}
|
}
|
||||||
|
else if (resultview.isSorted()) {
|
||||||
|
// If we are into a sorted view we should append at the end
|
||||||
|
index = -1;
|
||||||
|
}
|
||||||
else if (!this._disallowInsertion(lastSelected) &&
|
else if (!this._disallowInsertion(lastSelected) &&
|
||||||
lastSelected.containerOpen &&
|
lastSelected.containerOpen &&
|
||||||
orientation == Ci.nsITreeView.DROP_AFTER) {
|
orientation == Ci.nsITreeView.DROP_AFTER) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче