From d6c1cd8849f0eb34da05fe4e83e00329e7e5d5f9 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Fri, 20 Jan 2017 13:21:51 +0100 Subject: [PATCH] Tabs: add a wrapper to work around PHP bug #43200 refs #81 --- library/Businessprocess/Web/Component/Tabs.php | 3 +-- library/Businessprocess/Web/Component/WtfTabs.php | 13 +++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 library/Businessprocess/Web/Component/WtfTabs.php diff --git a/library/Businessprocess/Web/Component/Tabs.php b/library/Businessprocess/Web/Component/Tabs.php index a6e5e6a..72fc48e 100644 --- a/library/Businessprocess/Web/Component/Tabs.php +++ b/library/Businessprocess/Web/Component/Tabs.php @@ -3,8 +3,7 @@ namespace Icinga\Module\Businessprocess\Web\Component; use Icinga\Module\Businessprocess\Html\Renderable; -use Icinga\Web\Widget\Tabs as WebTabs; -class Tabs extends WebTabs implements Renderable +class Tabs extends WtfTabs implements Renderable { } diff --git a/library/Businessprocess/Web/Component/WtfTabs.php b/library/Businessprocess/Web/Component/WtfTabs.php new file mode 100644 index 0000000..95b730e --- /dev/null +++ b/library/Businessprocess/Web/Component/WtfTabs.php @@ -0,0 +1,13 @@ +