Bug 339368: Copying a live bookmark copies the (random) location/href rather than the feedurl, patch by Phil Ringnalda <philringnalda@gmail.com>, r=mano

git-svn-id: svn://10.0.0.236/trunk@200801 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
gavin%gavinsharp.com
2006-06-24 13:24:35 +00:00
parent 2dfb5c4e77
commit 53476811b7

View File

@@ -504,8 +504,12 @@ var BookmarksCommand = {
tmpBmItem.push(childCount + "\n" + sBookmarkItem);
sBookmarkItem = "";
var url;
if (aType == "Livemark")
url = BookmarksUtils.getProperty(aSelection.item[i], gNC_NS+"FeedURL");
else
url = BookmarksUtils.getProperty(aSelection.item[i], gNC_NS+"URL");
var url = BookmarksUtils.getProperty(aSelection.item[i], gNC_NS+"URL" );
var name = BookmarksUtils.getProperty(aSelection.item[i], gNC_NS+"Name");
sTextUnicode += url + "\n";