Fix "Uncaught TypeError: Cannot read properties of undefined (reading 'value')" caused by trying to access widget.options

This commit is contained in:
nathan 2021-12-06 14:49:59 -07:00
parent a73f0771e6
commit df0db494f7

View File

@ -194,8 +194,7 @@ class TimesheetApp extends EgwApp
*/
getWindowTitle()
{
var widget = this.et2.getWidgetById('ts_title');
if(widget) return widget.options.value;
return this.et2.getValueById('ts_title');
}
/**