From 3e758e812c5dc9028ba56901834c348db6024098 Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Tue, 22 Jul 2008 08:54:40 +0000 Subject: [PATCH] "Patch for IE 6/7 and Listview custom search for selected range" --- calendar/inc/class.calendar_uilist.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 061aa9def8..f780f576ae 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -135,7 +135,7 @@ class calendar_uilist extends calendar_ui 'order' => 'cal_start',// IO name of the column to sort after (optional for the sortheaders) 'sort' => 'ASC',// IO direction of the sort: 'ASC' or 'DESC' 'default_cols' => '!week,weekday,cal_title,cal_description,recure,cal_location,cal_owner,cat_id,pm_id', - 'filter_onchange' => "set_style_by_class('*','custom_hide','visibility',this.value == 'custom' ? 'visible' : 'hidden'); if (this.value != 'custom') this.form.submit();", + 'filter_onchange' => "set_style_by_class('table','custom_hide','visibility',this.value == 'custom' ? 'visible' : 'hidden'); if (this.value != 'custom') this.form.submit();", 'header_left' => 'calendar.list.dates', ); } @@ -229,7 +229,7 @@ class calendar_uilist extends calendar_ui $label = lang('Before %1',$this->bo->long_date($this->date)); break; case 'custom': - $GLOBALS['egw']->js->set_onload("set_style_by_class('*','custom_hide','visibility','visible');"); + $GLOBALS['egw']->js->set_onload("set_style_by_class('table','custom_hide','visibility','visible');"); $this->first = $search_params['start'] = $params['startdate']; $this->last = $search_params['end'] = $params['enddate']; $label = $this->bo->long_date($this->first,$this->last);