forked from extern/egroupware
Fix widget without ID breaks submit
This commit is contained in:
parent
44c331f69d
commit
462f5bb55d
@ -1189,7 +1189,7 @@ export class etemplate2
|
|||||||
let path = _widget.getPath();
|
let path = _widget.getPath();
|
||||||
|
|
||||||
// check if id contains a hierachical name, eg. "button[save]"
|
// check if id contains a hierachical name, eg. "button[save]"
|
||||||
let id = _widget.id;
|
let id = _widget.id || "";
|
||||||
let indexes = id?.split('[');
|
let indexes = id?.split('[');
|
||||||
if(indexes?.length > 1)
|
if(indexes?.length > 1)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user