Index: options.js |
=================================================================== |
--- a/options.js |
+++ b/options.js |
@@ -445,8 +445,12 @@ |
if (knownSubscription) |
{ |
for (var property in subscription) |
- if (property != "title") |
+ { |
+ if (property == "title" && subscriptionUrl in recommendationsMap) |
+ knownSubscription.originalTitle = subscription.title; |
+ else |
knownSubscription[property] = subscription[property]; |
+ } |
} |
else |
{ |
@@ -982,14 +986,6 @@ |
updateSubscription(subscription); |
updateShareLink(); |
break; |
- case "lastDownload": |
- case "downloadStatus": |
- case "downloading": |
- updateSubscription(subscription); |
- break; |
- case "homepage": |
- // TODO: NYI |
- break; |
case "removed": |
var knownSubscription = subscriptionsMap[subscription.url]; |
getAcceptableAdsURL(function(acceptableAdsUrl) |
@@ -1013,8 +1009,8 @@ |
collections.filterLists.removeItem(knownSubscription); |
}); |
break; |
- case "title": |
- // TODO: NYI |
+ default: |
+ updateSubscription(subscription); |
break; |
} |
} |