зеркало из https://github.com/mozilla/pjs.git
Commenting on what the previous patch actually does, same reviewers
This commit is contained in:
Родитель
c5f49c2780
Коммит
c7d93abf4f
|
@ -647,6 +647,7 @@
|
|||
if (!selectionLength)
|
||||
this.mOuter._target = null;
|
||||
else {
|
||||
// Paste or create items into an expanded folder, otherwise after the selected item.
|
||||
var orient = selection.isExpanded[0] ? BookmarksUtils.DROP_ON : BookmarksUtils.DROP_AFTER;
|
||||
this.mOuter._target = this.mOuter.getTreeTarget(selection.item[0], selection.parent[0], orient);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче