mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 09:53:20 +01:00
Make sure value is set before using it
This commit is contained in:
parent
d6cca90dbf
commit
2bcd6b16d8
@ -4736,7 +4736,7 @@ app.classes.mail = AppJS.extend(
|
|||||||
{
|
{
|
||||||
widgets[widget] = this.et2.getWidgetById(widget);
|
widgets[widget] = this.et2.getWidgetById(widget);
|
||||||
|
|
||||||
if (widgets[widget].get_value().length)
|
if (widgets[widget].get_value() && widgets[widget].get_value().length)
|
||||||
{
|
{
|
||||||
switch (widget)
|
switch (widget)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user