mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 04:41:41 +02:00
Make sure customfields widget has an ID, or it can't access settings client-side
This commit is contained in:
parent
fe05746b11
commit
06e03d2137
@ -77,6 +77,9 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
|
|||||||
*/
|
*/
|
||||||
public function beforeSendToClient($cname)
|
public function beforeSendToClient($cname)
|
||||||
{
|
{
|
||||||
|
// No name, no way to get parameters client-side.
|
||||||
|
if(!$this->id) $this->id = 'custom_fields';
|
||||||
|
|
||||||
$form_name = self::form_name($cname, $this->id);
|
$form_name = self::form_name($cname, $this->id);
|
||||||
$app =& $this->getElementAttribute($form_name, 'app');
|
$app =& $this->getElementAttribute($form_name, 'app');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user