www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit ce72b450bf583951efb48e7291dc57f40060518c
parent 974a07bf73370eeac43847c211fd9f652935b817
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 24 Sep 2015 23:55:45 -0400

Fix missing colored tag swatches on Windows/Linux

In Firefox 41, file: URIs can no longer be loaded (at least via Image)
from the hidden window on Windows/Linux, but chrome: URIs still work.
Not sure why I was using a file: URI to begin with.

Diffstat:
Mchrome/content/zotero/xpcom/data/tags.js | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/data/tags.js b/chrome/content/zotero/xpcom/data/tags.js @@ -729,9 +729,6 @@ Zotero.Tags = new function() { let ios = Components.classes['@mozilla.org/network/io-service;1'] .getService(Components.interfaces["nsIIOService"]); let uri = ios.newURI(extraImage, null, null); - uri = Components.classes['@mozilla.org/chrome/chrome-registry;1'] - .getService(Components.interfaces["nsIChromeRegistry"]) - .convertChromeURL(uri); var img = new win.Image(); img.src = uri.spec;