From 14f707bb952042649b43d43fc9db72f268f0029a Mon Sep 17 00:00:00 2001 From: "chanial%noos.fr" Date: Fri, 23 Jan 2004 06:36:42 +0000 Subject: [PATCH] bug 231824: the bookmarks toolbar folder should be indelible. --- browser/components/bookmarks/content/bookmarks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/components/bookmarks/content/bookmarks.js b/browser/components/bookmarks/content/bookmarks.js index 34781f8b2eb9..664576e6e3ac 100644 --- a/browser/components/bookmarks/content/bookmarks.js +++ b/browser/components/bookmarks/content/bookmarks.js @@ -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; },