Fix "Open Documentation" button in WebDAV verification cert error dialog
This commit is contained in:
parent
52b95bfc03
commit
f44a56848e
1 changed files with 2 additions and 5 deletions
|
@ -600,7 +600,7 @@ Zotero.Sync.Storage.WebDAV = (function () {
|
||||||
var buttonText = Zotero.getString('general.openDocumentation');
|
var buttonText = Zotero.getString('general.openDocumentation');
|
||||||
var func = function () {
|
var func = function () {
|
||||||
var zp = Zotero.getActiveZoteroPane();
|
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
|
// In Firefox display a button to load the WebDAV URL
|
||||||
|
@ -619,10 +619,7 @@ Zotero.Sync.Storage.WebDAV = (function () {
|
||||||
{
|
{
|
||||||
dialogText: msg,
|
dialogText: msg,
|
||||||
dialogButtonText: buttonText,
|
dialogButtonText: buttonText,
|
||||||
dialogButtonCallback: function () {
|
dialogButtonCallback: func
|
||||||
var zp = Zotero.getActiveZoteroPane();
|
|
||||||
zp.loadURI(channel.URI.spec, { shiftKey: true });
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
throw e;
|
throw e;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue