mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
check type in all cases to specified eg. select-app was as widget-type was not understood
This commit is contained in:
parent
06c4b2db23
commit
88ecdf19db
@ -294,7 +294,7 @@ class Select extends Etemplate\Widget
|
|||||||
unset(self::$request->content[$this->id]);
|
unset(self::$request->content[$this->id]);
|
||||||
$this->attrs['readonly'] = true;
|
$this->attrs['readonly'] = true;
|
||||||
}
|
}
|
||||||
if(!in_array($this->attrs['type'], self::$cached_types))
|
if(!in_array($type, self::$cached_types))
|
||||||
{
|
{
|
||||||
// adding type specific options here, while keep further options set by app code
|
// adding type specific options here, while keep further options set by app code
|
||||||
// we need to make sure to run only once for auto-repeated rows, because
|
// we need to make sure to run only once for auto-repeated rows, because
|
||||||
|
Loading…
x
Reference in New Issue
Block a user