Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yii2bootstrap
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏彬
yii2bootstrap
Commits
fa55cdee
Commit
fa55cdee
authored
Sep 27, 2014
by
Damian Dennis
Committed by
Alexander Makarov
Sep 30, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #5217: Tabs no longer requires content since empty tab could be used dynamically
parent
71d5e817
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
CHANGELOG.md
CHANGELOG.md
+1
-0
Tabs.php
Tabs.php
+0
-2
No files found.
CHANGELOG.md
View file @
fa55cdee
...
@@ -6,6 +6,7 @@ Yii Framework 2 bootstrap extension Change Log
...
@@ -6,6 +6,7 @@ Yii Framework 2 bootstrap extension Change Log
-
Chg #5231: Collapse
`items`
property uses
`label`
element instead of array key for headers (nkovacs)
-
Chg #5231: Collapse
`items`
property uses
`label`
element instead of array key for headers (nkovacs)
-
Chg #5232: Collapse encodes headers by default (nkovacs)
-
Chg #5232: Collapse encodes headers by default (nkovacs)
-
Chg #5217: Tabs no longer requires content since empty tab could be used dynamically (damiandennis)
2.0.0-rc September 27, 2014
2.0.0-rc September 27, 2014
...
...
Tabs.php
View file @
fa55cdee
...
@@ -168,8 +168,6 @@ class Tabs extends Widget
...
@@ -168,8 +168,6 @@ class Tabs extends Widget
$linkOptions
[
'data-toggle'
]
=
'tab'
;
$linkOptions
[
'data-toggle'
]
=
'tab'
;
$header
=
Html
::
a
(
$label
,
'#'
.
$options
[
'id'
],
$linkOptions
);
$header
=
Html
::
a
(
$label
,
'#'
.
$options
[
'id'
],
$linkOptions
);
$panes
[]
=
Html
::
tag
(
'div'
,
$item
[
'content'
],
$options
);
$panes
[]
=
Html
::
tag
(
'div'
,
$item
[
'content'
],
$options
);
}
else
{
throw
new
InvalidConfigException
(
"Either the 'content' or 'items' option must be set."
);
}
}
$headers
[]
=
Html
::
tag
(
'li'
,
$header
,
$headerOptions
);
$headers
[]
=
Html
::
tag
(
'li'
,
$header
,
$headerOptions
);
...
...
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