mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 10:51:38 +01:00
Api: Fix r/o select did not show correctly if value had a leading ","
This commit is contained in:
parent
d4ef70017f
commit
3b2854e850
@ -152,7 +152,7 @@ li {
|
||||
set value(new_value : string | string[])
|
||||
{
|
||||
// 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(",");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user