- fix - [ 1190834 ] Pagination of event calendar does not work for firefox
This commit is contained in:
parent
980c195451
commit
bd42fc4e24
1 changed files with 4 additions and 7 deletions
|
|
@ -462,9 +462,9 @@ sub view {
|
||||||
} else {
|
} else {
|
||||||
$monthLabel = WebGUI::International::get(561,"Asset_EventsCalendar");
|
$monthLabel = WebGUI::International::get(561,"Asset_EventsCalendar");
|
||||||
}
|
}
|
||||||
$var{'pagination.previousPage'} = '<form method="POST" style="inline;" action="'.
|
$var{'pagination.previousPage'} = '<form method="GET" style="inline;" action="'.
|
||||||
$self->getUrl.'?calMonthStart='.$calMonthStart.
|
$self->getUrl.'?calMonthStart='.$calMonthStart.
|
||||||
'"><a href="'.$self->getUrl.
|
'&reload='.WebGUI::Id::Generate.'"><a href="'.$self->getUrl.
|
||||||
'?calMonthStart='.$prevCalMonthStart.'&calMonthEnd='.$prevCalMonthEnd.'">'.
|
'?calMonthStart='.$prevCalMonthStart.'&calMonthEnd='.$prevCalMonthEnd.'">'.
|
||||||
WebGUI::International::get(558,"Asset_EventsCalendar")." ".$monthRangeLength." ".
|
WebGUI::International::get(558,"Asset_EventsCalendar")." ".$monthRangeLength." ".
|
||||||
$monthLabel.'</a>';
|
$monthLabel.'</a>';
|
||||||
|
|
@ -479,11 +479,8 @@ sub view {
|
||||||
<option value="'.(3+$calMonthStart).'">4 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option>
|
<option value="'.(3+$calMonthStart).'">4 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option>
|
||||||
<option value="'.(5+$calMonthStart).'">6 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option>
|
<option value="'.(5+$calMonthStart).'">6 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option>
|
||||||
<option value="'.(8+$calMonthStart).'">9 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option>
|
<option value="'.(8+$calMonthStart).'">9 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option>
|
||||||
<option value="'.(11+$calMonthStart).'">12 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option>
|
<option value="'.(11+$calMonthStart).'">12 '.WebGUI::International::get(561,"Asset_EventsCalendar").'</option></select>
|
||||||
<input type="submit" value="Go" name="Go">';
|
<input type="submit" value="Go" name="Go" />';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#use Data::Dumper; return '<pre>'.Dumper(\%var).'</pre>';
|
#use Data::Dumper; return '<pre>'.Dumper(\%var).'</pre>';
|
||||||
my $vars = \%var;
|
my $vars = \%var;
|
||||||
return $self->processTemplate($vars,$self->get("templateId"));
|
return $self->processTemplate($vars,$self->get("templateId"));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue