properly name form labels for the file selection

This commit is contained in:
Jan-Christoph Borchardt 2014-12-17 11:40:21 +01:00
parent bac2683c55
commit e5875fda38
2 changed files with 4 additions and 1 deletions

View File

@ -710,6 +710,7 @@
'<input id="select-' + this.id + '-' + fileData.id +
'" type="checkbox" class="selectCheckBox"/><label for="select-' + this.id + '-' + fileData.id + '">' +
'<div class="thumbnail" style="background-image:url(' + icon + '); background-size: 32px;"></div>' +
'<span class="hidden">' + t('files', 'Select') + '</span>' +
'</label>'
);
} else {

View File

@ -57,7 +57,9 @@
<th id='headerName' class="hidden column-name">
<div id="headerName-container">
<input type="checkbox" id="select_all_files" class="select-all"/>
<label for="select_all_files"></label>
<label for="select_all_files">
<span class="hidden"><?php p($l->t('Select all'))?></span>
</label>
<a class="name sort columntitle" data-sort="name"><span><?php p($l->t( 'Name' )); ?></span><span class="sort-indicator"></span></a>
<span id="selectedActionsList" class="selectedActions">
<a href="" class="download">