mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 03:05:34 +00:00
Bug 339368: Copying a live bookmark copies the (random) location/href rather than the feedurl, patch by Phil Ringnalda <philringnalda@gmail.com>, r=mano
This commit is contained in:
parent
21e8cd0e05
commit
d5d68733e1
@ -504,8 +504,12 @@ var BookmarksCommand = {
|
|||||||
tmpBmItem.push(childCount + "\n" + sBookmarkItem);
|
tmpBmItem.push(childCount + "\n" + sBookmarkItem);
|
||||||
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");
|
var name = BookmarksUtils.getProperty(aSelection.item[i], gNC_NS+"Name");
|
||||||
|
|
||||||
sTextUnicode += url + "\n";
|
sTextUnicode += url + "\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user