From 693ff87e548324680b00f841360ac2ef2caeb672 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 12 Jul 2019 02:55:20 +0200 Subject: [PATCH] Please cherry-pick: - converted single-line to multi-line for better readability - added closeOnEscape="true" attribute to have p:dialog closing press on ESC key MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- web/WEB-INF/templates/master.tpl | 9 +++++++-- web/admin/basic_data/admin_basic_data_list.xhtml | 1 + web/admin/branch_office/admin_branch_office_list.xhtml | 1 + 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/web/WEB-INF/templates/master.tpl b/web/WEB-INF/templates/master.tpl index b8ebc7ff..93ed134f 100644 --- a/web/WEB-INF/templates/master.tpl +++ b/web/WEB-INF/templates/master.tpl @@ -105,8 +105,13 @@ /> - +
diff --git a/web/admin/basic_data/admin_basic_data_list.xhtml b/web/admin/basic_data/admin_basic_data_list.xhtml index 8ee0448a..290dd9bf 100644 --- a/web/admin/basic_data/admin_basic_data_list.xhtml +++ b/web/admin/basic_data/admin_basic_data_list.xhtml @@ -289,6 +289,7 @@ widgetVar="basicDataDialog" position="top" responsive="true" + closeOnEscape="true" > diff --git a/web/admin/branch_office/admin_branch_office_list.xhtml b/web/admin/branch_office/admin_branch_office_list.xhtml index f155a9a3..b5267f38 100644 --- a/web/admin/branch_office/admin_branch_office_list.xhtml +++ b/web/admin/branch_office/admin_branch_office_list.xhtml @@ -282,6 +282,7 @@ widgetVar="branchOfficeDialog" position="top" responsive="true" + closeOnEscape="true" > -- 2.39.5