Checked in patch for bug 245792

git-svn-id: svn://10.0.0.236/trunk@157588 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mostafah%oeone.com 2004-06-08 13:29:11 +00:00
parent 9484e510a5
commit ac66587232

View File

@ -204,10 +204,11 @@ CalendarEventDataSource.prototype.search = function calEvent_search( searchText,
{
for ( i in fieldName )
{
var objValue = calendarEvent[ fieldName[i] ].toLowerCase();
var objValue = calendarEvent[ fieldName[i] ];
if( objValue )
{
objValue = objValue.toLowerCase();
if( objValue.indexOf( searchText ) != -1 )
{
searchEventTable[ searchEventTable.length ] = calendarEvent;