mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Et2SelectDayOfWeek: Fix missing all days, weekday, weekend options
This commit is contained in:
parent
1aa0528642
commit
deefd1e0ea
@ -924,7 +924,8 @@ export class Et2SelectDayOfWeek extends Et2StaticSelectMixin(Et2Select)
|
|||||||
for(let index in options)
|
for(let index in options)
|
||||||
{
|
{
|
||||||
let right = parseInt(options[index].value);
|
let right = parseInt(options[index].value);
|
||||||
if(!!(int_value & right))
|
|
||||||
|
if((int_value & right) == right)
|
||||||
{
|
{
|
||||||
expanded_value.push("" + right);
|
expanded_value.push("" + right);
|
||||||
}
|
}
|
||||||
|
@ -345,7 +345,7 @@ export const StaticOptions = new class StaticOptionsType
|
|||||||
|
|
||||||
dow(widget : Et2SelectWidgets, attrs) : Promise<SelectOption[]>
|
dow(widget : Et2SelectWidgets, attrs) : Promise<SelectOption[]>
|
||||||
{
|
{
|
||||||
var options = /*(widget.rows || "") +*/ ',' + (attrs.other || []).join(',');
|
var options = (widget.rows || "") + ',' + (attrs.other || []).join(',');
|
||||||
return <Promise<SelectOption[]>>this.cached_server_side(widget, 'select-dow', options, true);
|
return <Promise<SelectOption[]>>this.cached_server_side(widget, 'select-dow', options, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user