]> code.citadel.org Git - citadel.git/blobdiff - webcit/static/t/edit_message.html
Attachments: start using fineuploader.com to upload attachments to messages.
[citadel.git] / webcit / static / t / edit_message.html
index 116d1c3768f77402efb4b9647a73e3f354583c06..c52f86490837e0746d26f7a01f9678afcbd4aac2 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() {