Actually change code that deletes automatic tags
Follow-up to d7dc5670d5
This commit is contained in:
parent
a4613e6d12
commit
85c6ec0ca4
1 changed files with 2 additions and 1 deletions
|
@ -396,11 +396,12 @@ Zotero.Tags = new function() {
|
||||||
* Remove all automatic tags in the given library
|
* Remove all automatic tags in the given library
|
||||||
*/
|
*/
|
||||||
this.removeAutomaticFromLibrary = async function (libraryID, onProgress) {
|
this.removeAutomaticFromLibrary = async function (libraryID, onProgress) {
|
||||||
|
var tagType = 1;
|
||||||
var tagIDs = await this.getAutomaticInLibrary(libraryID);
|
var tagIDs = await this.getAutomaticInLibrary(libraryID);
|
||||||
if (onProgress) {
|
if (onProgress) {
|
||||||
onProgress(0, tagIDs.length);
|
onProgress(0, tagIDs.length);
|
||||||
}
|
}
|
||||||
return this.removeFromLibrary(libraryID, tagIDs, onProgress);
|
return this.removeFromLibrary(libraryID, tagIDs, onProgress, tagType);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue