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

This commit is contained in:
Dan Stillman 2013-10-19 05:56:03 -04:00
parent 52b95bfc03
commit f44a56848e

View file

@ -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;