From c89ba4458919afdfb8f40755fd82b75e0934026c Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Tue, 20 May 2014 21:23:18 -0400 Subject: [PATCH 1/3] Fix issue #58 --- js/multi-image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/multi-image.js b/js/multi-image.js index cb2f2ccf..5866e2e4 100644 --- a/js/multi-image.js +++ b/js/multi-image.js @@ -16,7 +16,7 @@ function multi_image() { e.preventDefault(); $('#upload_url').remove(); - var images_len = $('input[type=file]').length; + var images_len = $('form:not([id="quick-reply"]) [type=file]').length; if (!(images_len >= max_images)) { $('.add_image').after('
'); From 1db32eff47d70e917af29146ad1903e07fa995c0 Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Tue, 20 May 2014 21:23:33 -0400 Subject: [PATCH 2/3] Fix issue #60 --- templates/post/fileinfo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/post/fileinfo.html b/templates/post/fileinfo.html index c2a0aa6a..f862f59d 100644 --- a/templates/post/fileinfo.html +++ b/templates/post/fileinfo.html @@ -3,7 +3,7 @@ {% else %}
{% for file in post.files %} -
+
{% if file.file == 'deleted' %} {% else %} From 08eed21f8f07f7c50614873d01cc74e92947a81c Mon Sep 17 00:00:00 2001 From: czaks Date: Wed, 21 May 2014 09:05:35 +0200 Subject: [PATCH 3/3] fix single file metadata display in multifile; fixes #611 --- stylesheets/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stylesheets/style.css b/stylesheets/style.css index 6620c368..58e3f4ba 100644 --- a/stylesheets/style.css +++ b/stylesheets/style.css @@ -116,6 +116,12 @@ form table tr td div label { .multifile { border: 2px dashed #B7C5D9; } +.file:not(.multifile) .post-image { + float: left; +} +.file:not(.multifile) { + float: none; +} p.fileinfo { display: block; margin: 0;