<?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() {