Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
Yii Bootstrap 3
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
Common
Yii Bootstrap 3
Commits
50918f73
Commit
50918f73
authored
Jul 29, 2012
by
Crisu83
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added visible property for buttons in button groups (fixes #100)
parent
4c62eb36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
TbButtonGroup.php
widgets/TbButtonGroup.php
+3
-0
No files found.
widgets/TbButtonGroup.php
View file @
50918f73
...
...
@@ -77,6 +77,9 @@ class TbButtonGroup extends CWidget
foreach
(
$this
->
buttons
as
$button
)
{
if
(
isset
(
$button
[
'visible'
])
&&
!
$button
[
'visible'
]
===
false
)
continue
;
$this
->
controller
->
widget
(
'bootstrap.widgets.TbButton'
,
array
(
'buttonType'
=>
isset
(
$button
[
'buttonType'
])
?
$button
[
'buttonType'
]
:
$this
->
buttonType
,
'type'
=>
isset
(
$button
[
'type'
])
?
$button
[
'type'
]
:
$this
->
type
,
...
...
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