bug 231824: the bookmarks toolbar folder should be indelible.

This commit is contained in:
chanial%noos.fr 2004-01-23 06:36:42 +00:00
Родитель d32b296c7a
Коммит 14f707bb95
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -864,7 +864,7 @@ var BookmarksController = {
case "cmd_bm_setpersonaltoolbarfolder":
if (length != 1)
return false;
return item0 != "NC:PersonalToolbarFolder" &&
return item0 != BMSVC.getBookmarksToolbarFolder().Value &&
item0 != "NC:BookmarksRoot" && type0 == "Folder";
case "cmd_bm_movebookmark":
return length > 0 && !aSelection.containsImmutable;
@ -1104,7 +1104,7 @@ var BookmarksUtils = {
aSelection.type [i] = type;
aSelection.isContainer[i] = isContainer;
}
if (this.isContainerChildOrSelf(RDF.GetResource("NC:PersonalToolbarFolder"), aSelection))
if (this.isContainerChildOrSelf(BMSVC.getBookmarksToolbarFolder(), aSelection))
aSelection.containsPTF = true;
},