From 46f9d1ad01e99150d26cf3ac67ee28abbb83559f Mon Sep 17 00:00:00 2001 From: "jminta%gmail.com" Date: Thu, 22 Sep 2005 01:34:34 +0000 Subject: [PATCH] Bug 309462 Error finding parent item in agendaTree r=dmose --- calendar/lightning/content/agenda-tree.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/lightning/content/agenda-tree.js b/calendar/lightning/content/agenda-tree.js index fc76ba0734d9..9b107528010d 100644 --- a/calendar/lightning/content/agenda-tree.js +++ b/calendar/lightning/content/agenda-tree.js @@ -199,7 +199,7 @@ function getParentIndex(row) if (this.events[i] instanceof Synthetic) return i; i--; - } while (i != 0); + } while (i != -1); throw "no parent for row " + row + "?"; };