mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-11 00:18:25 +01: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)
|
||||
{
|
||||
// No name, no way to get parameters client-side.
|
||||
if(!$this->id) $this->id = 'custom_fields';
|
||||
|
||||
$form_name = self::form_name($cname, $this->id);
|
||||
$app =& $this->getElementAttribute($form_name, 'app');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user