www

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

commit ab9330d88e29ae642bfd99c9dc1885e1643f12a6
parent e206d7059516245e920026cc40826d9a12d1772f
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 23 Jan 2016 02:26:06 -0500

Don't show open/save dialog in addition to style installation prompt

This apparently has been happening for a year, since #617.

Might be better to show open/save on cancel, as implemented for the
RIS/BibTeX prompt in 4ecdd55 (which caused this), but that would have to
wait for the better promise handling in 5.0. Doing "Save Link As..." for
a CSL file also seems a bit more straightforward than for RIS/BibTeX,
which can be served in complicated ways.

Diffstat:
Mchrome/content/zotero/xpcom/mimeTypeHandler.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/mimeTypeHandler.js b/chrome/content/zotero/xpcom/mimeTypeHandler.js @@ -345,7 +345,7 @@ Zotero.MIMETypeHandler = new function () { Zotero.debug(e); } - if (!handled) { + if (handled === false) { // handle using nsIExternalHelperAppService var externalHelperAppService = Components.classes["@mozilla.org/uriloader/external-helper-app-service;1"]. getService(Components.interfaces.nsIExternalHelperAppService);