зеркало из https://github.com/mozilla/pjs.git
Undo overzealous commenting (bug 221692)
This commit is contained in:
Родитель
d021e8e05b
Коммит
607798204c
|
@ -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>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче