зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
21e8cd0e05
Коммит
d5d68733e1
|
@ -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";
|
||||
|
|
Загрузка…
Ссылка в новой задаче