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

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

Issue 5166222576451584: Issue 2264 - Remove deprecated logic from Utils.runAsync() on Firefox (Closed)
Patch Set: Created April 2, 2015, 10:16 a.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 | « chrome/content/ui/filters-search.js ('k') | chrome/content/ui/filters-subscriptionview.js » ('j') | no next file with comments »
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
@@ -68,7 +68,7 @@
node.parentNode.selectItem(node);
if (!FilterActions.visible)
E("subscription-showHideFilters-command").doCommand();
- Utils.runAsync(FilterView.selectFilter, FilterView, filter);
+ Utils.runAsync(() => FilterView.selectFilter(filter));
});
}
},
@@ -538,7 +538,7 @@
// Show panel and focus list
let position = (Utils.versionComparator.compare(Utils.platformVersion, "2.0") < 0 ? "after_end" : "bottomcenter topleft");
panel.openPopup(E("selectSubscriptionButton"), position, 0, 0, false, false, event);
- Utils.runAsync(list.focus, list);
+ Utils.runAsync(() => list.focus());
};
request.send();
},
« no previous file with comments | « chrome/content/ui/filters-search.js ('k') | chrome/content/ui/filters-subscriptionview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld