From b31be7af7e5b9ccd35c5ca837a37000b5bbe92e6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 5 Jun 2006 21:51:21 +0000 Subject: [PATCH] Put square brackets around ids in notifier debug output if multiple ids passed --- chrome/chromeFiles/content/scholar/xpcom/notifier.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/chromeFiles/content/scholar/xpcom/notifier.js b/chrome/chromeFiles/content/scholar/xpcom/notifier.js index ee672db30a..a982a4bbfa 100644 --- a/chrome/chromeFiles/content/scholar/xpcom/notifier.js +++ b/chrome/chromeFiles/content/scholar/xpcom/notifier.js @@ -44,7 +44,7 @@ Scholar.Notifier = new function(){ } Scholar.debug("Notifier.trigger('" + event + "', '" + type + "', " - + (typeof ids=='Object' ? ids.join() : ids) + ") called " + + (typeof ids=='object' ? '[' + ids.join() + ']' : ids) + ") called " + "[column trees: " + _observers['columnTree'].length + ", item trees: " + _observers['itemTree'].length + "]");