Skip to content
Snippets Groups Projects
Commit 3daf41fa authored by Georgi Mateev's avatar Georgi Mateev
Browse files

[BUGFIX] 1363 Fixing the selection Menu for Mail Templates

parent 1be6944b
No related branches found
No related tags found
1 merge request!15Bugfix 1363 fix sg mail selection bugs
...@@ -158,7 +158,6 @@ class BackendService { ...@@ -158,7 +158,6 @@ class BackendService {
->setSetVariables([]); ->setSetVariables([]);
$buttonBar->addButton($shortcutButton, ButtonBar::BUTTON_POSITION_RIGHT); $buttonBar->addButton($shortcutButton, ButtonBar::BUTTON_POSITION_RIGHT);
$docHeaderComponent->getButtonBar();
} }
/** /**
......
...@@ -94,13 +94,6 @@ class ActionMenuItemViewHelper extends AbstractTagBasedViewHelper { ...@@ -94,13 +94,6 @@ class ActionMenuItemViewHelper extends AbstractTagBasedViewHelper {
} else { } else {
$this->tag->removeAttribute('selected'); $this->tag->removeAttribute('selected');
} }
if ($arguments['parameters']['selected'] === 'selected') {
$this->tag->addAttribute('selected', 'selected');
} elseif ($arguments['parameters']['selected'] === '') {
$this->tag->removeAttribute('selected');
}
$this->tag->setContent($label); $this->tag->setContent($label);
return $this->tag->render(); return $this->tag->render();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment