Commit 3509dfc7 authored by Carsten  Rose's avatar Carsten Rose
Browse files

#3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im...

#3447 / Icons das man im FrontEnd direkt das gewaehlte FormElement im Formulareditor bearbeiten kann.
BuildFormBootstrap.php: Add ToolTip to checkbox.
parent e96bb108
...@@ -134,7 +134,7 @@ class BuildFormBootstrap extends AbstractBuildForm { ...@@ -134,7 +134,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
private function buildShowEditFormElementCheckbox() { private function buildShowEditFormElementCheckbox() {
$js = '$(".' . CLASS_FORM_ELEMENT_EDIT . '").toggleClass("hidden")'; $js = '$(".' . CLASS_FORM_ELEMENT_EDIT . '").toggleClass("hidden")';
$element = "<input type='checkbox' onchange='" . $js . "'>" . $element = "<input type='checkbox' onchange='" . $js . "'>" .
Support::wrapTag("<span class='" . GLYPH_ICON . ' ' . GLYPH_ICON_TASKS . "'>", ''); Support::wrapTag("<span title='Toggle: Edit form element icons' class='" . GLYPH_ICON . ' ' . GLYPH_ICON_TASKS . "'>", '');
$element = Support::wrapTag('<label class="btn btn-default navbar-btn">', $element); $element = Support::wrapTag('<label class="btn btn-default navbar-btn">', $element);
return Support::wrapTag('<div class="btn-group" data-toggle="buttons">', $element); return Support::wrapTag('<div class="btn-group" data-toggle="buttons">', $element);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment