From e66c109a20e57a1d55da131fc5006e8620aa53fe Mon Sep 17 00:00:00 2001 From: ntengineer Date: Fri, 23 Jan 2015 11:23:32 -0800 Subject: [PATCH] Fixed attachment buttons non-IE Browsers On the new post item for Forums, for non-IE browsers the text of the file name didn't show. Also, the alignment was wonky. Modified line 233 to remove out the reference to the class in the CSS. This was causing the button to be centered but depending on the browser the file name would be left or right and would look out of place. Modified line 234 to remove "textbox" class so it will display correct in Non-IE browser. Modified line 303 for the same reason as 234. --- members/include/forum/post.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/members/include/forum/post.php b/members/include/forum/post.php index e935eed..cc04ca2 100644 --- a/members/include/forum/post.php +++ b/members/include/forum/post.php @@ -230,8 +230,8 @@ "type" => "custom", "sortorder" => $i++, "display_name" => "Attachments", - "html" => "
- + "html" => "
+
Add More Attachments
" @@ -300,7 +300,7 @@ if(numOfAttachments <= ".ini_get("max_file_uploads").") { - $('#attachmentsDiv').append(\"
\"); + $('#attachmentsDiv').append(\"
\"); $('#numOfAttachments').val(numOfAttachments); } @@ -418,4 +418,4 @@ function checkForAttachments() { } -?> \ No newline at end of file +?>