Bug 295141 Task/Todo mouseover preview does not show location or description.

patch by gekacheka@yahoo.com, r=mvl
This commit is contained in:
mvl%exedo.nl 2005-05-24 19:07:19 +00:00
parent b760f8fb46
commit 052cfaa3fd

View File

@ -81,9 +81,10 @@ function getPreviewForTask( toDoItem )
hasHeader = true;
}
if (toDoItem.location)
var location = toDoItem.getProperty("LOCATION");
if (location)
{
boxAppendLabeledText(vbox, "tooltipLocation", toDoItem.location);
boxAppendLabeledText(vbox, "tooltipLocation", location);
hasHeader = true;
}
@ -125,7 +126,7 @@ function getPreviewForTask( toDoItem )
hasHeader = true;
}
var description = toDoItem.getProperty("description");
var description = toDoItem.getProperty("DESCRIPTION");
if (description)
{
// display up to 4 description lines like body of message below headers