Clarify warnings about data removal when switching accounts

And improve styling of hardConfirmationDialog.xul

Closes #1359
This commit is contained in:
Dan Stillman 2020-05-23 03:17:34 -04:00
parent 31f26fefe7
commit c65322d0a4
6 changed files with 68 additions and 23 deletions

View file

@ -45,11 +45,12 @@ describe("Zotero.Sync.Data.Local", function() {
var handled = false;
waitForDialog(function (dialog) {
var text = dialog.document.documentElement.textContent;
var matches = text.match(/[^]*/g);
assert.equal(matches.length, 3);
assert.equal(matches[0], "A");
assert.equal(matches[1], "B");
assert.equal(matches[2], "A");
var matches = text.match(/“[^”]*”/g);
assert.equal(matches.length, 4);
assert.equal(matches[0], "“A”");
assert.equal(matches[1], "“B”");
assert.equal(matches[2], "“A”");
assert.equal(matches[3], "“A”");
dialog.document.getElementById('zotero-hardConfirmationDialog-checkbox').checked = true;
dialog.document.getElementById('zotero-hardConfirmationDialog-checkbox')