| Index: chrome/content/ui/filters.js |
| =================================================================== |
| --- a/chrome/content/ui/filters.js |
| +++ b/chrome/content/ui/filters.js |
| @@ -112,16 +112,17 @@ var Templater = |
| */ |
| process: function(/**Node*/ template, /**Object*/ data) /**Node*/ |
| { |
| // Use a sandbox to resolve attributes (for convenience, not security) |
| let sandbox = Cu.Sandbox(window); |
| for (let key in data) |
| sandbox[key] = data[key]; |
| sandbox.formatTime = Utils.formatTime; |
| + sandbox.getSubscriptionTitle = getSubscriptionTitle; |
| // Clone template but remove id/hidden attributes from it |
| let result = template.cloneNode(true); |
| result.removeAttribute("id"); |
| result.removeAttribute("hidden"); |
| result._data = data; |
| // Resolve any attributes of the for attr="{obj.foo}" |