aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-07-11 21:38:48 -0400
committerJoey Hess <joey@kitenet.net>2011-07-11 21:38:48 -0400
commit20577d8ecb18f7954a97800cb9b9dca981d2b53e (patch)
tree8012dd6d8b6e85db0e4be9016ebfa4bd2348eafe /templates
parentd23786cb6c5b3320d4b0c45df3424acea51e90ad (diff)
downloadikiwiki-20577d8ecb18f7954a97800cb9b9dca981d2b53e.tar
ikiwiki-20577d8ecb18f7954a97800cb9b9dca981d2b53e.tar.gz
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.
Diffstat (limited to 'templates')
-rw-r--r--templates/editpage.tmpl2
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/editpage.tmpl b/templates/editpage.tmpl
index efe077f84..27c4aa6ed 100644
--- a/templates/editpage.tmpl
+++ b/templates/editpage.tmpl
@@ -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>