www

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

commit f44a56848ef00d7478d0c15c88b78189d5652adf
parent 52b95bfc032a7602227db7784bf3deab89bab012
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sat, 19 Oct 2013 05:56:03 -0400

Fix "Open Documentation" button in WebDAV verification cert error dialog

Diffstat:
Mchrome/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 @@ -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;