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

Unified Diff: lib/synchronizer.js

Issue 29339382: Issue 3889 - Dispatch subscription.downloading event on transfer (Closed)
Patch Set: Created April 5, 2016, 1:02 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/synchronizer.js
diff --git a/lib/synchronizer.js b/lib/synchronizer.js
index a9abb52b7580f9c7aa277a2f52dac38f4ab41717..3e7b7af73947b80e3f87a7482871df407a4bfd81 100644
--- a/lib/synchronizer.js
+++ b/lib/synchronizer.js
@@ -128,7 +128,7 @@ var Synchronizer = exports.Synchronizer =
_onDownloadStarted: function(downloadable)
{
let subscription = Subscription.fromURL(downloadable.url);
- FilterNotifier.triggerListeners("subscription.downloadStatus", subscription);
+ subscription.downloadStatus = "in_progress";
},
_onDownloadSuccess: function(downloadable, responseText, errorCallback, redirectCallback)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld