From d5d6d54902dbb491375a7c2479aefa394ced0b49 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 15 Aug 2022 10:40:13 -0600 Subject: [PATCH] Avoid error if title widget is not an input widget --- api/js/jsapi/egw_app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/js/jsapi/egw_app.ts b/api/js/jsapi/egw_app.ts index 4184bdbb23..fc3b170ee5 100644 --- a/api/js/jsapi/egw_app.ts +++ b/api/js/jsapi/egw_app.ts @@ -1381,7 +1381,7 @@ export abstract class EgwApp var titleWidget = this.et2.getWidgetById('title'); if(titleWidget) { - return titleWidget.get_value(); + return titleWidget.get_value ? titleWidget.get_value() : (titleWidget.value || ""); } else {