summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-07-12 15:16:44 -0400
committerThomas Schwinge <thomas@schwinge.name>2014-03-09 19:29:38 +0100
commitaba24efd8c926d7032af4477b4a88da628ba5454 (patch)
treef2cb7ab048ee3a996a2d0a5d6c8f3beb6ba9cfe4
parent43a3e7e5a316c063ee2ec671a9df312b7798b377 (diff)
auto-check just uploaded attachments
This may make it easier to eg, Insert Links after dropping in a lot of files. (cherry picked from commit 1aad46e15e4329eff066fc8a68719e0c27f07891)
-rw-r--r--.templates/editpage.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/.templates/editpage.tmpl b/.templates/editpage.tmpl
index 0dd86c10..cafb653b 100644
--- a/.templates/editpage.tmpl
+++ b/.templates/editpage.tmpl
@@ -62,7 +62,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
</script>
<script id="template-download" type="text/x-jquery-tmpl">
<tr class="template-download{{if error}} ui-state-error{{/if}}">
- <td><input type="checkbox" name="attachment_select" value="${name}" />${name}</td>
+ <td><input type="checkbox" checked name="attachment_select" value="${name}" />${name}</td>
<td>${humansize}</td>
{{if error}}
<td class="error" colspan="2">failed!</td>