From 20577d8ecb18f7954a97800cb9b9dca981d2b53e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 11 Jul 2011 21:38:48 -0400 Subject: [PATCH] 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. --- debian/changelog | 2 ++ templates/editpage.tmpl | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6ef9650b9..0c55d4afa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Mon, 11 Jul 2011 21:35:20 -0400 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 - - -- 2.26.2