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

Unified Diff: chrome/content/ui/sendReport.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
Index: chrome/content/ui/sendReport.js
===================================================================
--- a/chrome/content/ui/sendReport.js
+++ b/chrome/content/ui/sendReport.js
@@ -786,17 +786,17 @@ let subscriptionUpdateDataSource =
{
document.documentElement.canAdvance = false;
if (!E("updateInProgress").hidden)
{
document.documentElement.canRewind = false;
for (let i = 0; i < this.needUpdate.length; i++)
- Synchronizer.execute(this.needUpdate[i], true, true);
+ Synchronizer.execute(this.needUpdate[i], true);
let listener = function(action)
{
if (!/^subscription\./.test(action))
return;
for (let i = 0; i < this.needUpdate.length; i++)
if (Synchronizer.isExecuting(this.needUpdate[i].url))
@@ -860,17 +860,17 @@ let subscriptionUpdateDataSource =
FilterNotifier.removeListener(listener);
});
}
},
updateOutdated: function()
{
for (let i = 0; i < this.outdated.length; i++)
- Synchronizer.execute(this.outdated[i], true, true);
+ Synchronizer.execute(this.outdated[i], true);
}
}
let issuesDataSource =
{
contentWnd: null,
isEnabled: Prefs.enabled,
whitelistFilter: null,

Powered by Google App Engine
This is Rietveld