mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-16 19:50:44 +01:00
Avoid error if title widget is not an input widget
This commit is contained in:
parent
6095b0e2ae
commit
d5d6d54902
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user