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:
gavin%gavinsharp.com 2006-06-24 13:24:35 +00:00
Родитель 21e8cd0e05
Коммит d5d68733e1
1 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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";