]> sipb.mit.edu Git - ikiwiki.git/commitdiff
auto-check just uploaded attachments
authorJoey Hess <joey@kitenet.net>
Tue, 12 Jul 2011 19:16:44 +0000 (15:16 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 12 Jul 2011 19:16:44 +0000 (15:16 -0400)
This may make it easier to eg, Insert Links after dropping in a lot of
files.

templates/editpage.tmpl

index 27c4aa6ed25ebdcc690ad2d7aab7fffb8e934e83..696c8dcad197134bb7264d17d9f5cf950c24aba0 100644 (file)
@@ -44,7 +44,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>