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: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/commitdiff_plain/20577d8ecb18f7954a97800cb9b9dca981d2b53e?hp=d23786cb6c5b3320d4b0c45df3424acea51e90ad;ds=inline 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 - -