mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Calendar: Fix freetime search timeslot select
This commit is contained in:
parent
d1e7040011
commit
bed98c0e9e
@ -2859,7 +2859,7 @@ class calendar_uiforms extends calendar_ui
|
||||
{
|
||||
$e = $s + $duration;
|
||||
$end_date = $e-$daybegin > DAY_s ? lang(date('l',$e)).' '.date($this->common_prefs['dateformat'],$e).' ' : '';
|
||||
$times[$s] = date($time_format,$s).' - '.$end_date.date($time_format,$e);
|
||||
$times[Api\DateTime::to($s, Api\DateTime::ET2)] = date($time_format, $s) . ' - ' . $end_date . date($time_format, $e);
|
||||
}
|
||||
$sel_options[$n.'start'] = $times;
|
||||
}
|
||||
|
@ -1708,7 +1708,7 @@ export class CalendarApp extends EgwApp
|
||||
// Make the Id from selected button by checking the index
|
||||
var selectedId = _widget.id.match(/^select\[([0-9])\]$/i)[1];
|
||||
|
||||
var sTime = <et2_date> this.et2.getWidgetById(selectedId+'start');
|
||||
var sTime = <Et2Select><unknown>this.et2.getWidgetById(selectedId + 'start');
|
||||
|
||||
//check the parent window is still open before to try to access it
|
||||
if (window.opener && sTime)
|
||||
|
Loading…
Reference in New Issue
Block a user