Index: chrome/content/ui/sendReport.js |
=================================================================== |
--- a/chrome/content/ui/sendReport.js |
+++ b/chrome/content/ui/sendReport.js |
@@ -820,18 +820,24 @@ var subscriptionUpdateDataSource = |
return; |
FilterNotifier.removeListener(listener); |
E("updateInProgress").hidden = "true"; |
let filtersRemoved = false; |
let requests = requestsDataSource.origRequests; |
for (let i = 0; i < requests.length; i++) |
- if (requests[i].filter && !requests[i].filter.subscriptions.filter(s => !s.disabled).length) |
+ { |
+ if (!requests[i].filter) |
+ continue; |
+ |
+ let filter = Filter.fromText(requests[i].filter); |
+ if (!filter.subscriptions.some(s => !s.disabled)) |
filtersRemoved = true; |
+ } |
if (filtersRemoved) |
{ |
// Force the user to reload the page |
E("updateFixedIssue").hidden = false; |
document.documentElement.canAdvance = true; |
let nextButton = document.documentElement.getButton("next"); |