Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/ui/filters-subscriptionactions.js

Issue 11153017: Improve Synchronizer functionality (Closed)
Patch Set: Created July 17, 2013, 12:32 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/content/ui/sendReport.js » ('j') | lib/downloader.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/ui/filters-subscriptionactions.js
===================================================================
--- a/chrome/content/ui/filters-subscriptionactions.js
+++ b/chrome/content/ui/filters-subscriptionactions.js
@@ -105,29 +105,29 @@ var SubscriptionActions =
/**
* Triggers re-download of a filter subscription.
*/
updateFilters: function(/**Node*/ node)
{
let data = Templater.getDataForNode(node || this.selectedItem);
if (data && data.subscription instanceof DownloadableSubscription)
- Synchronizer.execute(data.subscription, true, true);
+ Synchronizer.execute(data.subscription, true);
},
/**
* Triggers re-download of all filter subscriptions.
*/
updateAllFilters: function()
{
for (let i = 0; i < FilterStorage.subscriptions.length; i++)
{
let subscription = FilterStorage.subscriptions[i];
if (subscription instanceof DownloadableSubscription)
- Synchronizer.execute(subscription, true, true);
+ Synchronizer.execute(subscription, true);
}
},
/**
* Sets Subscription.disabled field to a new value.
*/
setDisabled: function(/**Element*/ node, /**Boolean*/ value)
{
« no previous file with comments | « no previous file | chrome/content/ui/sendReport.js » ('j') | lib/downloader.js » ('J')

Powered by Google App Engine
This is Rietveld