Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
app
Commits
559b4a20
Commit
559b4a20
authored
Oct 04, 2021
by
Laurent Lécluse
Browse files
Le composant TabAjax ajoute les urls dans les attributs data-url des tab-panes
parent
d9c5ba53
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
559b4a20
CHANGELOG
=========
3.
1.21
------
-
Le composant TabAjax ajoute les urls dans les attributs data-url des tab-panes
3.
1.20
------
-
Ajout du support de 2 fonctions SQL oracle/postgres : replace() et chr()
...
...
src/UnicaenApp/View/Helper/TabAjax/TabAjaxViewHelper.php
View file @
559b4a20
...
...
@@ -293,9 +293,10 @@ class TabAjaxViewHelper extends AbstractHtmlElement
$id
=
$tab
->
getId
()
?:
'tab'
.
$index
;
$attrs
=
[
'role'
=>
'tabpanel'
,
'class'
=>
[
'tab-pane'
],
'id'
=>
$id
,
'role'
=>
'tabpanel'
,
'class'
=>
[
'tab-pane'
],
'data-url'
=>
$tab
->
getUrl
(),
'id'
=>
$id
,
];
if
(
$this
->
getSelected
()
===
$tab
)
$attrs
[
'class'
][]
=
'active'
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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