commit cef196529c2b62fa4cdfdfbdafc5e1e624478923
parent 52f7ed62d00c2b4dc73df0928595bc1fffb92170
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 28 Jun 2006 18:12:38 +0000
Return the tagID, new or otherwise, in Item.addTag()
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js
@@ -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(){