diff --git a/timesheet/js/app.ts b/timesheet/js/app.ts index bf5b46d883..10576b089c 100644 --- a/timesheet/js/app.ts +++ b/timesheet/js/app.ts @@ -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'); } /**