diff options
author | Joey Hess <joey@kitenet.net> | 2011-07-11 21:38:48 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-07-11 21:38:48 -0400 |
commit | 20577d8ecb18f7954a97800cb9b9dca981d2b53e (patch) | |
tree | 8012dd6d8b6e85db0e4be9016ebfa4bd2348eafe /templates | |
parent | d23786cb6c5b3320d4b0c45df3424acea51e90ad (diff) | |
download | ikiwiki-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.tmpl | 2 |
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> |