Bug 1163576 - Pages that were only added to Pocket by one user failed to get removed. r=jaws

This commit is contained in:
Nate Weiner 2015-05-11 15:50:42 -04:00
Родитель 430b6a187c
Коммит 0b75f25c60
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -59,7 +59,7 @@ var PKT_SAVED_OVERLAY = function (options)
thePKT_SAVED.sendMessage("getSuggestedTags", thePKT_SAVED.sendMessage("getSuggestedTags",
{ {
url: myself.savedUrl || window.location.toString() url: myself.savedUrl
}, function(resp) }, function(resp)
{ {
$('.pkt_ext_suggestedtag_detail').removeClass('pkt_ext_suggestedtag_detail_loading'); $('.pkt_ext_suggestedtag_detail').removeClass('pkt_ext_suggestedtag_detail_loading');
@ -314,7 +314,7 @@ var PKT_SAVED_OVERLAY = function (options)
thePKT_SAVED.sendMessage("addTags", thePKT_SAVED.sendMessage("addTags",
{ {
url: myself.savedUrl || window.location.toString(), url: myself.savedUrl,
tags: originaltags tags: originaltags
}, function(resp) }, function(resp)
{ {
@ -411,7 +411,7 @@ var PKT_SAVED_OVERLAY = function (options)
if (typeof initobj.item == 'object') if (typeof initobj.item == 'object')
{ {
this.savedItemId = initobj.item.item_id; this.savedItemId = initobj.item.item_id;
this.savedUrl = initobj.item.resolved_url; this.savedUrl = initobj.item.given_url;
} }
$('.pkt_ext_containersaved').addClass('pkt_ext_container_detailactive').removeClass('pkt_ext_container_finalstate'); $('.pkt_ext_containersaved').addClass('pkt_ext_container_detailactive').removeClass('pkt_ext_container_finalstate');