зеркало из https://github.com/mozilla/gecko-dev.git
Undo overzealous commenting (bug 221692)
This commit is contained in:
Родитель
ccba7ce6b1
Коммит
16014e6ec2
|
@ -515,14 +515,14 @@
|
||||||
}
|
}
|
||||||
var selection = this._selection;
|
var selection = this._selection;
|
||||||
|
|
||||||
//XXXpch: broken since we have single ID...
|
if (selection.isContainer[0]) {
|
||||||
//if (selection.isContainer[0]) {
|
if (this.clickCount == 1 && !modifKey) {
|
||||||
// if (this.clickCount == 1 && !modifKey) {
|
this.treeBoxObject.view.toggleOpenState(row);
|
||||||
// this.treeBoxObject.view.toggleOpenState(row);
|
//XXXpch: broken since we have single IDs
|
||||||
// if (selection.protocol[0] != "file")
|
//if (selection.protocol[0] != "file")
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
//}
|
}
|
||||||
var browserTarget = BookmarksUtils.getBrowserTargetFromEvent(aEvent);
|
var browserTarget = BookmarksUtils.getBrowserTargetFromEvent(aEvent);
|
||||||
BookmarksCommand.openBookmark(selection, browserTarget, this.db);
|
BookmarksCommand.openBookmark(selection, browserTarget, this.db);
|
||||||
]]></body>
|
]]></body>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче