forked from extern/egroupware
Fix tabs sometimes break subsequent namespaces
This commit is contained in:
parent
7da0e6d27b
commit
b45a7d7439
@ -14,7 +14,7 @@
|
||||
/**
|
||||
* eTemplate Tabs widget stacks multiple sub-templates and lets you switch between them
|
||||
*/
|
||||
class etemplate_widget_tabbox extends etemplate_widget
|
||||
class etemplate_widget_tabbox extends etemplate_widget_box
|
||||
{
|
||||
/**
|
||||
* Validate input - just pass through, tabs doesn't care
|
||||
@ -27,7 +27,7 @@ class etemplate_widget_tabbox extends etemplate_widget
|
||||
*/
|
||||
public function validate($cname, array $expand, array $content, &$validated=array())
|
||||
{
|
||||
$form_name = self::form_name($cname, $this->id, $expand);
|
||||
$form_name = $cname;
|
||||
|
||||
if (!$this->is_readonly($cname, $form_name))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user