aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/admin/element_set_global.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/default/admin/element_set_global.tpl')
-rw-r--r--template/default/admin/element_set_global.tpl7
1 files changed, 4 insertions, 3 deletions
diff --git a/template/default/admin/element_set_global.tpl b/template/default/admin/element_set_global.tpl
index edaba7b87..9b41a5219 100644
--- a/template/default/admin/element_set_global.tpl
+++ b/template/default/admin/element_set_global.tpl
@@ -164,13 +164,14 @@
<!-- BEGIN line -->
<tr>
<!-- BEGIN thumbnail -->
- <td class="thumbnail"
- onmousedown="document.getElementById('selection_{thumbnails.line.thumbnail.ID}').checked = (document.getElementById('selection_{thumbnails.line.thumbnail.ID}').checked ? false : true);">
+ <td class="thumbnail">
+ <label>
<img src="{thumbnails.line.thumbnail.SRC}"
alt="{thumbnails.line.thumbnail.ALT}"
title="{thumbnails.line.thumbnail.TITLE}"
class="thumbLink" />
- <br /><input type="checkbox" name="selection[]" value="{thumbnails.line.thumbnail.ID}" id="selection_{thumbnails.line.thumbnail.ID}" />
+ <br /><input type="checkbox" name="selection[]" value="{thumbnails.line.thumbnail.ID}" />
+ </label>
</td>
<!-- END thumbnail -->
</tr>