Wrapped thumbnails with links in post upload form
Improves integration with Vimperator
This commit is contained in:
parent
627a8db5f3
commit
0727433a9e
2 changed files with 5 additions and 1 deletions
|
@ -156,6 +156,7 @@ App.Presenters.PostUploadPresenter = function(
|
|||
$allCheckboxes.prop('checked', false);
|
||||
$myCheckbox.prop('checked', true);
|
||||
postTableCheckboxesChanged(e);
|
||||
tagInput.focus();
|
||||
}
|
||||
|
||||
function postTableCheckboxClicked(e) {
|
||||
|
@ -312,6 +313,7 @@ App.Presenters.PostUploadPresenter = function(
|
|||
|
||||
$row.removeClass('template');
|
||||
$row.find('td:not(.checkbox)').click(postTableRowClicked);
|
||||
$row.find('a').click(postTableRowClicked);
|
||||
$row.find('td.checkbox').click(postTableCheckboxClicked);
|
||||
$row.data('post', post);
|
||||
$table.find('tbody').append($row);
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
<label></label>
|
||||
</td>
|
||||
<td class="thumbnail">
|
||||
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="Thumbnail"/>
|
||||
<a href="#"/>
|
||||
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" alt="Thumbnail"/>
|
||||
</a>
|
||||
</td>
|
||||
<td class="tags"></td>
|
||||
<td class="safety"><div class="safety-template"></div></td>
|
||||
|
|
Loading…
Reference in a new issue