Attachments: start using fineuploader.com to upload attachments to messages.
[citadel.git] / webcit / static / t / edit / message.html
index 4afa0b165b6a196aba8e003e0f6a6046bc064a45..23b96434085bb4ae4ad09dfccf73a1deb4fa9627 100644 (file)
@@ -3,11 +3,8 @@
 <?ROOMBANNER>
 <div id="content">
 
-<div id="attachments_form">
-    <div id="loading">
-      <p><img src="static/webcit_icons/throbber.gif" alt=""></p>
-      <p><?_("Loading")></p>
-    </div>
+<div id="attachments_form" style="display:none">
+<?=("edit_message_attachments_pane")>
 </div>
 
 <div class="entmsg" id="entmsg"><form name="enterform" accept-charset="UTF-8" enctype="multipart/form-data" method="POST" action="post">
 
        function show_attachments_form() {
                $('attachments_form').style.display = 'block';
-
-               p = 'template=edit_message_attachments_pane&r=' + CtdlRandomString();
-               new Ajax.Updater(
-                       'attachments_form',
-                       'do_template',
-                       {
-                               method: 'get',
-                               parameters: p,
-                               evalScripts: true
-                       }
-               );
+               update_attachment_count();
        }
 
        function update_attachment_count() {