зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1163576 - Pages that were only added to Pocket by one user failed to get removed. r=jaws
This commit is contained in:
Родитель
430b6a187c
Коммит
0b75f25c60
|
@ -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');
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче