mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
Portal: LinkedSet label in forms can now be toggled by clicking on the field label (Was only working on the linkedset count and chevron)
SVN:trunk[4514]
This commit is contained in:
@@ -67,8 +67,8 @@ class BsLinkedSetFieldRenderer extends FieldRenderer
|
||||
if ($this->oField->GetLabel() !== '')
|
||||
{
|
||||
$oOutput->AddHtml('<label for="' . $this->oField->GetGlobalId() . '" class="control-label">')
|
||||
->AddHtml($this->oField->GetLabel(), true)
|
||||
->AddHtml('<a id="' . $sCollapseTogglerId . '" class="form_linkedset_toggler" data-toggle="collapse" href="#' . $sFieldWrapperId . '" aria-expanded="false" aria-controls="' . $sFieldWrapperId . '">')
|
||||
->AddHtml($this->oField->GetLabel(), true)
|
||||
->AddHtml('<span class="text">' . count($aItemIds) . '</span>')
|
||||
->AddHtml('<span class="glyphicon ' . $sCollapseTogglerHiddenClass . '"></>')
|
||||
->AddHtml('</a>')
|
||||
|
||||
Reference in New Issue
Block a user