diff --git a/src/includes/class/class.LSrelation.php b/src/includes/class/class.LSrelation.php index 464f0153..ba1acf80 100644 --- a/src/includes/class/class.LSrelation.php +++ b/src/includes/class/class.LSrelation.php @@ -259,14 +259,16 @@ class LSrelation { $return['actions'][] = array( 'label' => _('Modify'), 'url' => 'object/'.$relationConf['LSobject'].'/select?multiple=1'.($relation -> getRelatedEditableAttribute()?'&editableAttr='.$relation -> getRelatedEditableAttribute():''), - 'action' => 'modify' + 'action' => 'modify', + 'class' => 'LSrelation_modify', ); } if ($relation -> canCreate()) { $return['actions'][] = array( 'label' => _('New'), 'url' => 'object/'.$relationConf['LSobject'].'/create?LSrelation='.$relationName.'&relatedLSobject='.$object->getType().'&relatedLSobjectDN='.urlencode($object -> getValue('dn')), - 'action' => 'create' + 'action' => 'create', + 'class' => null, ); } diff --git a/src/templates/default/LSrelations.tpl b/src/templates/default/LSrelations.tpl index 9e4c0605..5770df74 100644 --- a/src/templates/default/LSrelations.tpl +++ b/src/templates/default/LSrelations.tpl @@ -2,7 +2,7 @@ {if $item.actions!=''}