Display attachment manipulation links always, since attachments can be uploaded via javascript.
Could arrange for them to be in a span that is hidden when there are no attachments and make the javascript upload unhide it; this is a quick fix.master
parent
d23786cb6c
commit
20577d8ecb
|
@ -2,6 +2,8 @@ ikiwiki (3.20110712) UNRELEASED; urgency=low
|
|||
|
||||
* attachment: Bugfix to create directory when moving attachment out of
|
||||
holding area.
|
||||
* Display attachment manipulation links always, since attachments can be
|
||||
uploaded via javascript.
|
||||
|
||||
-- Joey Hess <joeyh@debian.org> Mon, 11 Jul 2011 21:35:20 -0400
|
||||
|
||||
|
|
|
@ -62,9 +62,7 @@ $(function () { $('#fileupload').fileupload(); }); // initialize upload widget
|
|||
</div>
|
||||
<TMPL_VAR FIELD-ATTACHMENT>
|
||||
<noscript><TMPL_VAR FIELD-UPLOAD></noscript>
|
||||
<TMPL_IF NAME="ATTACHMENT_LIST">
|
||||
<TMPL_VAR FIELD-LINK><TMPL_VAR FIELD-RENAME><TMPL_VAR FIELD-REMOVE>
|
||||
</TMPL_IF>
|
||||
</div>
|
||||
</div>
|
||||
</TMPL_IF>
|
||||
|
|
Loading…
Reference in New Issue