From cef196529c2b62fa4cdfdfbdafc5e1e624478923 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 28 Jun 2006 18:12:38 +0000 Subject: [PATCH] Return the tagID, new or otherwise, in Item.addTag() --- chrome/chromeFiles/content/scholar/xpcom/data_access.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chrome/chromeFiles/content/scholar/xpcom/data_access.js b/chrome/chromeFiles/content/scholar/xpcom/data_access.js index 0a2bd232fc..ed6d47e925 100644 --- 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(){