From f44a56848ef00d7478d0c15c88b78189d5652adf Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sat, 19 Oct 2013 05:56:03 -0400 Subject: [PATCH] Fix "Open Documentation" button in WebDAV verification cert error dialog --- chrome/content/zotero/xpcom/storage/webdav.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js index 04385867e8..06de449ffc 100644 --- a/chrome/content/zotero/xpcom/storage/webdav.js +++ b/chrome/content/zotero/xpcom/storage/webdav.js @@ -600,7 +600,7 @@ Zotero.Sync.Storage.WebDAV = (function () { var buttonText = Zotero.getString('general.openDocumentation'); var func = function () { var zp = Zotero.getActiveZoteroPane(); - zp.loadURI("http://www.zotero.org/support/kb/cert_override", { shiftKey: true }); + zp.loadURI("https://www.zotero.org/support/kb/cert_override", { shiftKey: true }); }; } // In Firefox display a button to load the WebDAV URL @@ -619,10 +619,7 @@ Zotero.Sync.Storage.WebDAV = (function () { { dialogText: msg, dialogButtonText: buttonText, - dialogButtonCallback: function () { - var zp = Zotero.getActiveZoteroPane(); - zp.loadURI(channel.URI.spec, { shiftKey: true }); - } + dialogButtonCallback: func } ); throw e;