mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-21 23:43:17 +01:00
Etemplate - Hide tabs from tab widget if there's only one tab
This commit is contained in:
parent
dd4f998b36
commit
04334eb0f0
@ -338,7 +338,7 @@ var et2_tabbox = (function(){ "use strict"; return et2_valueWidget.extend([et2_I
|
||||
entry.flagDiv.addClass(entry.widget_options.class);
|
||||
}
|
||||
entry.flagDiv.text(entry.label || "Tab");
|
||||
if(entry.hidden)
|
||||
if(entry.hidden || this.tabData.length === 1)
|
||||
{
|
||||
entry.flagDiv.hide();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user