fx-compat: long tag fixer (#2649)
* Manual tag splitting from tag selector * Only apply split to the tag in current library * Preserve tag type
This commit is contained in:
parent
b1595cdd1d
commit
13cc393840
12 changed files with 406 additions and 251 deletions
|
@ -1321,7 +1321,7 @@ describe("Zotero.Sync.Runner", function () {
|
|||
}
|
||||
});
|
||||
|
||||
waitForDialog(null, 'accept', 'chrome://zotero/content/longTagFixer.xul');
|
||||
waitForDialog(null, 'accept', 'chrome://zotero/content/longTagFixer.xhtml');
|
||||
yield runner.sync({ libraries: [Zotero.Libraries.userLibraryID] });
|
||||
|
||||
assert.isFalse(Zotero.Tags.getID(tag));
|
||||
|
@ -1391,9 +1391,9 @@ describe("Zotero.Sync.Runner", function () {
|
|||
}
|
||||
});
|
||||
|
||||
waitForDialog(function (dialog) {
|
||||
dialog.Zotero_Long_Tag_Fixer.switchMode(2);
|
||||
}, 'accept', 'chrome://zotero/content/longTagFixer.xul');
|
||||
waitForDialog(function (window) {
|
||||
window.Zotero_Long_Tag_Fixer.switchMode(2);
|
||||
}, 'accept', 'chrome://zotero/content/longTagFixer.xhtml');
|
||||
yield runner.sync({ libraries: [Zotero.Libraries.userLibraryID] });
|
||||
|
||||
assert.isFalse(Zotero.Tags.getID(tag));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue