Fix detection of WebDAV settings on Windows and Linux
Fixes #1291, hopefully for real this time
This commit is contained in:
parent
435e628973
commit
cd55aebbc0
1 changed files with 5 additions and 0 deletions
|
@ -493,6 +493,11 @@ Zotero_Preferences.Sync = {
|
|||
var usernameField = document.getElementById("storage-username");
|
||||
var passwordField = document.getElementById("storage-password");
|
||||
|
||||
// These don't get set until window close on Windows/Linux (no instantApply),
|
||||
// so set them explicitly when verifying
|
||||
Zotero.Prefs.set('sync.storage.url', urlField.value);
|
||||
Zotero.Prefs.set('sync.storage.username', usernameField.value);
|
||||
|
||||
verifyButton.hidden = true;
|
||||
abortButton.hidden = false;
|
||||
progressMeter.hidden = false;
|
||||
|
|
Loading…
Reference in a new issue