Index: messageResponder.js |
=================================================================== |
--- a/messageResponder.js |
+++ b/messageResponder.js |
@@ -64,8 +64,14 @@ |
return result; |
} |
- var convertSubscription = convertObject.bind(null, ["disabled", |
- "downloadStatus", "homepage", "lastDownload", "title", "url"]); |
+ function convertSubscription(subscription) |
+ { |
+ var obj = convertObject(["disabled", "downloadStatus", "homepage", |
+ "lastDownload", "title", "url"], subscription); |
+ obj.isDownloading = Synchronizer.isExecuting(subscription); |
Sebastian Noack
2016/04/05 18:38:48
We require a property that indicates whether the s
|
+ return obj; |
+ } |
+ |
var convertFilter = convertObject.bind(null, ["text"]); |
var changeListeners = new global.ext.PageMap(); |
@@ -396,9 +402,6 @@ |
Synchronizer.execute(subscription, true); |
} |
break; |
- case "subscriptions.isDownloading": |
- callback(Synchronizer.isExecuting(message.url)); |
- break; |
} |
}); |
})(this); |