Fixed unable to click checkboxes in post upload
This commit is contained in:
parent
4c75232a80
commit
8e6d7af3ea
2 changed files with 4 additions and 2 deletions
|
@ -160,6 +160,8 @@ App.Presenters.PostUploadPresenter = function(
|
|||
$row.find('img').mouseleave(postTableRowImageUnhovered);
|
||||
$row.data('post', post);
|
||||
$table.find('tbody').append($row);
|
||||
$row.find('td.checkbox input').attr('id', _.uniqueId());
|
||||
$row.find('td.checkbox label').attr('for', $row.find('td.checkbox input').attr('id'));
|
||||
|
||||
postChanged(post);
|
||||
|
||||
|
|
|
@ -20,8 +20,8 @@
|
|||
<thead>
|
||||
<tr>
|
||||
<th class="checkbox">
|
||||
<input type="checkbox" name="select-all"/>
|
||||
<label></label>
|
||||
<input id="post-upload-select-all" type="checkbox" name="select-all"/>
|
||||
<label for="post-upload-select-all"></label>
|
||||
</th>
|
||||
<th class="thumbnail"></th>
|
||||
<th class="tags">Tags</th>
|
||||
|
|
Loading…
Reference in a new issue