mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
Fix "Uncaught TypeError: Cannot read properties of undefined (reading 'value')" caused by trying to access widget.options
This commit is contained in:
parent
a73f0771e6
commit
df0db494f7
@ -194,8 +194,7 @@ class TimesheetApp extends EgwApp
|
|||||||
*/
|
*/
|
||||||
getWindowTitle()
|
getWindowTitle()
|
||||||
{
|
{
|
||||||
var widget = this.et2.getWidgetById('ts_title');
|
return this.et2.getValueById('ts_title');
|
||||||
if(widget) return widget.options.value;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user