From b2be99f0e0c1cbc6c8ce5b0d8299a63924538e90 Mon Sep 17 00:00:00 2001 From: "dietrich%mozilla.com" Date: Tue, 29 Apr 2008 18:05:10 +0000 Subject: [PATCH] Bug 430948 - Places:Drag & Drop a Favicon or a Link to Bookmarks Toolbar, Bookmarks Menu or Sidebar Bookmarks does not work. (r=mano, a=damon) --- browser/components/places/content/controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/places/content/controller.js b/browser/components/places/content/controller.js index dd68c16dd90..09a08dd1e2e 100755 --- a/browser/components/places/content/controller.js +++ b/browser/components/places/content/controller.js @@ -1458,7 +1458,7 @@ var PlacesControllerDragHelper = { transactions.push(PlacesUIUtils.ptm.tagURI(uri,[tagItemId])); } else { - if (!this.canMoveContainer(unwrapped.id, null)) + if (unwrapped.id && !this.canMoveContainer(unwrapped.id, null)) copy = true; else if (unwrapped.concreteId && !this.canMoveContainer(unwrapped.concreteId, null))