From 90036a0ea7db61b6d2067fed0b91029660e88a63 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 30 Aug 2006 15:58:08 +0000 Subject: [PATCH] Addresses #243, ability to get name of saved search without accessing private properties --- chrome/chromeFiles/content/scholar/xpcom/search.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/chromeFiles/content/scholar/xpcom/search.js b/chrome/chromeFiles/content/scholar/xpcom/search.js index ce7c95b7e..45336fc8b 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/search.js +++ b/chrome/chromeFiles/content/scholar/xpcom/search.js @@ -69,6 +69,11 @@ Scholar.Search.prototype.getID = function(){ } +Scholar.Search.prototype.getName = function(){ + return this._savedSearchName; +} + + /* * Save the search to the DB and return a savedSearchID *