Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
a5506bbd
Commit
a5506bbd
authored
Feb 25, 2016
by
Carsten Rose
Browse files
BuildFormBootstrap: fixed bug in wrapping of 'more' button.
parent
070368ce
Changes
1
Show whitespace changes
Inline
Side-by-side
extension/qfq/qfq/BuildFormBootstrap.php
View file @
a5506bbd
...
...
@@ -114,7 +114,7 @@ class BuildFormBootstrap extends AbstractBuildForm {
* @throws UserException
*/
private
function
buildPillNavigation
(
$pillArray
)
{
$html
=
''
;
$html
Dropdown
=
''
;
$pillButton
=
''
;
$pillDropdown
=
''
;
...
...
@@ -147,14 +147,15 @@ class BuildFormBootstrap extends AbstractBuildForm {
// Pill Dropdown necessary?
if
(
$ii
>
$maxVisiblePill
)
{
$html
=
Support
::
wrapTag
(
'<ul class="dropdown-menu">'
,
$pillDropdown
,
true
);
$html
.
=
'<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button">more <span class="caret"></span></a>'
;
$htmlDropdown
=
Support
::
wrapTag
(
'<ul class="dropdown-menu">'
,
$pillDropdown
,
true
);
$htmlDropdown
=
'<a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button">more <span class="caret"></span></a>'
.
$htmlDropdown
;
$htmlDropdown
=
Support
::
wrapTag
(
'<li role="presentation" class="dropdown">'
,
$htmlDropdown
,
false
);
}
$html
=
Support
::
wrapTag
(
'<ul id="'
.
$this
->
getTabId
()
.
'" class="nav nav-pills" role="tablist">'
,
$pillButton
.
$html
);
$html
=
Support
::
wrapTag
(
'<div class="col-md-9">'
,
$html
);
$html
Dropdown
=
Support
::
wrapTag
(
'<ul id="'
.
$this
->
getTabId
()
.
'" class="nav nav-pills" role="tablist">'
,
$pillButton
.
$html
Dropdown
);
$html
Dropdown
=
Support
::
wrapTag
(
'<div class="col-md-9">'
,
$html
Dropdown
);
return
$html
;
return
$html
Dropdown
;
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment