Skip to content

Commit 88e12d7

Browse files
committed
Merge pull request #28 from moretaste/master
Make rows selectable in 2.6
2 parents 9644741 + 2505d37 commit 88e12d7

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

content/content.index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ public function view()
108108
// Assemble the table
109109
$table = Widget::Table(
110110
Widget::TableHead($thead), null,
111-
Widget::TableBody($tbody), null
111+
Widget::TableBody($tbody), 'selectable', null,
112+
array('role' => 'directory', 'aria-labelledby' => 'symphony-subheading', 'data-interactive' => 'data-interactive')
112113
);
113-
$table->setAttribute('class','selectable');
114114
$this->Form->appendChild($table);
115115

116116
// Append table actions

extension.meta.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
</author>
1616
</authors>
1717
<releases>
18+
<release version="1.2.2" date="2015-06-04" min="2.4">
19+
- Bug fix, add right data attributes to table
20+
</release>
1821
<release version="1.2.1" date="2014-06-17" min="2.4">
1922
- Code style clean-up
2023
</release>
@@ -32,4 +35,4 @@
3235
<release version="1.0.0" date="2012-05-16" min="2.3" />
3336
<release version="0.9.9" date="2011-05-11" min="2.1.0" />
3437
</releases>
35-
</extension>
38+
</extension>

0 commit comments

Comments
 (0)