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
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
PSDI Army
yii2
Commits
64596976
Commit
64596976
authored
May 26, 2013
by
Alexander Kochetov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Overcoding removed ;)
parent
aad5c84f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Accordion.php
framework/yii/jui/Accordion.php
+2
-2
No files found.
framework/yii/jui/Accordion.php
View file @
64596976
...
@@ -85,10 +85,10 @@ class Accordion extends Widget
...
@@ -85,10 +85,10 @@ class Accordion extends Widget
throw
new
InvalidConfigException
(
"The 'content' option is required."
);
throw
new
InvalidConfigException
(
"The 'content' option is required."
);
}
}
$headerOptions
=
array_merge
(
$this
->
headerOptions
,
ArrayHelper
::
getValue
(
$item
,
'headerOptions'
,
array
()));
$headerOptions
=
array_merge
(
$this
->
headerOptions
,
ArrayHelper
::
getValue
(
$item
,
'headerOptions'
,
array
()));
$headerTag
=
ArrayHelper
::
remove
(
$headerOptions
,
'tag'
,
ArrayHelper
::
remove
(
$headerOptions
,
'tag'
,
'h3'
)
);
$headerTag
=
ArrayHelper
::
remove
(
$headerOptions
,
'tag'
,
'h3'
);
$items
[]
=
Html
::
tag
(
$headerTag
,
$item
[
'header'
],
$headerOptions
);
$items
[]
=
Html
::
tag
(
$headerTag
,
$item
[
'header'
],
$headerOptions
);
$options
=
array_merge
(
$this
->
itemOptions
,
ArrayHelper
::
getValue
(
$item
,
'options'
,
array
()));
$options
=
array_merge
(
$this
->
itemOptions
,
ArrayHelper
::
getValue
(
$item
,
'options'
,
array
()));
$tag
=
ArrayHelper
::
remove
(
$options
,
'tag'
,
ArrayHelper
::
remove
(
$options
,
'tag'
,
'div'
)
);
$tag
=
ArrayHelper
::
remove
(
$options
,
'tag'
,
'div'
);
$items
[]
=
Html
::
tag
(
$tag
,
$item
[
'content'
],
$options
);;
$items
[]
=
Html
::
tag
(
$tag
,
$item
[
'content'
],
$options
);;
}
}
...
...
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