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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user