WIP CF tabs: need to set addTabs explicit to not replace/remove the existing tabs as default is false

This commit is contained in:
ralf 2024-03-21 12:46:02 +02:00
parent 5352972e2a
commit 9322eb681e

View File

@ -164,6 +164,7 @@ class Tabbox extends Etemplate\Widget
if ($tabs)
{
self::$request->content = $content;
self::setElementAttribute($this->id, 'addTabs', true);
self::setElementAttribute($this->id, 'extraTabs', array_values($tabs));
}
}