From 643ee7b108154d419ab6129f9ca22fd13151ff93 Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 17 Dec 2015 17:56:13 +0100 Subject: [PATCH] Menu: use target="_self" instead of data-base-target="_self" in logout link fixes #10330 --- library/Icinga/Application/Web.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/library/Icinga/Application/Web.php b/library/Icinga/Application/Web.php index 5bebde085..bc372c2e3 100644 --- a/library/Icinga/Application/Web.php +++ b/library/Icinga/Application/Web.php @@ -359,10 +359,10 @@ class Web extends EmbeddedWeb 'url' => 'preference' ), 'logout' => array( - 'label' => t('Logout'), - 'priority' => 200, - 'target' => '_self', - 'url' => 'authentication/logout' + 'label' => t('Logout'), + 'priority' => 200, + 'attributes' => array('target' => '_self'), + 'url' => 'authentication/logout' ) ) )