Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Rotua Panjaitan
yii2
Commits
e54b9c6f
Commit
e54b9c6f
authored
Sep 28, 2014
by
Damian Dennis
Committed by
Alexander Makarov
Oct 01, 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
b630dd20
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
CHANGELOG.md
extensions/bootstrap/CHANGELOG.md
+1
-0
Tabs.php
extensions/bootstrap/Tabs.php
+0
-2
No files found.
extensions/bootstrap/CHANGELOG.md
View file @
e54b9c6f
...
...
@@ -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 #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
...
...
extensions/bootstrap/Tabs.php
View file @
e54b9c6f
...
...
@@ -168,8 +168,6 @@ class Tabs extends Widget
$linkOptions
[
'data-toggle'
]
=
'tab'
;
$header
=
Html
::
a
(
$label
,
'#'
.
$options
[
'id'
],
$linkOptions
);
$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
);
...
...
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