mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Return the tagID, new or otherwise, in Item.addTag()
This commit is contained in:
parent
52f7ed62d0
commit
cef196529c
1 changed files with 2 additions and 0 deletions
|
|
@ -958,6 +958,8 @@ Scholar.Item.prototype.addTag = function(tag){
|
|||
|
||||
Scholar.DB.commitTransaction();
|
||||
Scholar.Notifier.trigger('modify', 'item', this.getID());
|
||||
|
||||
return tagID;
|
||||
}
|
||||
|
||||
Scholar.Item.prototype.getTags = function(){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue