From: Joey Hess Date: Tue, 12 Jul 2011 01:38:48 +0000 (-0400) Subject: Display attachment manipulation links always, since attachments can be uploaded via... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=20577d8ecb18f7954a97800cb9b9dca981d2b53e;p=ikiwiki.git 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. --- 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 - -