From 53449d47a993f615000490938ccbd1fa24ad6715 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 13 Sep 2012 14:42:15 -0400 Subject: [PATCH] Install styles served as application/vnd.citationstyles.style+xml --- chrome/content/zotero/xpcom/mimeTypeHandler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/mimeTypeHandler.js b/chrome/content/zotero/xpcom/mimeTypeHandler.js index 9a7af70348..e1f590d9be 100644 --- a/chrome/content/zotero/xpcom/mimeTypeHandler.js +++ b/chrome/content/zotero/xpcom/mimeTypeHandler.js @@ -70,7 +70,8 @@ Zotero.MIMETypeHandler = new function () { // Not even trying this.addHandler("ris", _importHandler, true); } - this.addHandler("text/x-csl", function(a1, a2) { Zotero.Styles.install(a1, a2) }); + this.addHandler("application/vnd.citationstyles.style+xml", function(a1, a2) { Zotero.Styles.install(a1, a2) }); + this.addHandler("text/x-csl", function(a1, a2) { Zotero.Styles.install(a1, a2) }); // deprecated this.addHandler("application/x-zotero-schema", Zotero.Schema.importSchema); this.addHandler("application/x-zotero-settings", Zotero.Prefs.importSettings); }