Skip to content
Snippets Groups Projects
Commit 78b73f0e authored by Carsten  Rose's avatar Carsten Rose
Browse files

#3910 / 'submitButtonText' not shown

After recode 'buildButtonCode()' the button text has been misplaced as tooltip and the class 'btn btn-default' was missing. Added. OK
parent 66f01715
No related branches found
No related tags found
No related merge requests found
......@@ -462,13 +462,12 @@ class BuildFormBootstrap extends AbstractBuildForm {
// Button Save at bottom of form - only if there is a button text given.
if ($this->formSpec[F_SUBMIT_BUTTON_TEXT] !== '') {
// Default setzen:
$this->fillWrapLabelInputNote($this->formSpec[F_BS_LABEL_COLUMNS], $this->formSpec[F_BS_INPUT_COLUMNS], $this->formSpec[F_BS_NOTE_COLUMNS]);
$buttonText = $this->formSpec[F_SUBMIT_BUTTON_TEXT];
$htmlElement = $this->buildButtonCode('save-button', '', $buttonText, '', '', $this->formSpec[F_BUTTON_ON_CHANGE_CLASS]);
$htmlElement = $this->buildButtonCode('save-button', $buttonText, $buttonText, '', '', $this->formSpec[F_BUTTON_ON_CHANGE_CLASS], 'btn btn-default');
$html .= $this->wrapItem(WRAP_SETUP_LABEL, '');
$html .= $this->wrapItem(WRAP_SETUP_INPUT, $htmlElement);
......
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