mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Api: Fix r/o select did not show correctly if value had a leading ","
This commit is contained in:
parent
f457af5e38
commit
ce34b5eaf9
@ -152,7 +152,7 @@ li {
|
|||||||
set value(new_value : string | string[])
|
set value(new_value : string | string[])
|
||||||
{
|
{
|
||||||
// Split anything that is still a CSV
|
// Split anything that is still a CSV
|
||||||
if(typeof new_value == "string" && new_value.indexOf(",") > 0)
|
if(typeof new_value == "string" && new_value.indexOf(",") != -1)
|
||||||
{
|
{
|
||||||
new_value = new_value.split(",");
|
new_value = new_value.split(",");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user