Avoid error if title widget is not an input widget

This commit is contained in:
nathan 2022-08-15 10:40:13 -06:00
parent 6095b0e2ae
commit d5d6d54902

View File

@ -1381,7 +1381,7 @@ export abstract class EgwApp
var titleWidget = <et2_valueWidget>this.et2.getWidgetById('title');
if(titleWidget)
{
return titleWidget.get_value();
return titleWidget.get_value ? titleWidget.get_value() : (titleWidget.value || "");
}
else
{