X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic%2Ft%2Fedit%2Fmessage.html;h=f803f3762ac35b4846c6ab5d8f2e95eccf8fcf00;hb=6b7509b18a0a38accc68ad94e17cd55e59621be1;hp=4afa0b165b6a196aba8e003e0f6a6046bc064a45;hpb=3583542c65ec8fa58520a90724f1b5ecd004c83a;p=citadel.git diff --git a/webcit/static/t/edit/message.html b/webcit/static/t/edit/message.html index 4afa0b165..f803f3762 100644 --- a/webcit/static/t/edit/message.html +++ b/webcit/static/t/edit/message.html @@ -3,11 +3,8 @@
-
-
-

-

-
+
@@ -164,17 +161,7 @@ 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() { @@ -189,22 +176,6 @@ ); } - function remove_attachment(which_one) { - p = 'which_attachment=' + which_one + '&r=' + CtdlRandomString(); - new Ajax.Updater( - 'gonna_upload_this', - 'remove_attachment', - { - method: 'get', - parameters: p, - onComplete: function(){ - show_attachments_form(); - update_attachment_count(); - } - } - ); - } -