function hide_attachments_form() {
$('attachments_form').style.display = 'none';
+ update_attachment_count();
}
function show_attachments_form() {
);
}
+ function update_attachment_count() {
+ p = 'r=' + CtdlRandomString();
+ new Ajax.Updater(
+ 'num_attachments',
+ 'show_num_attachments',
+ {
+ method: 'get',
+ parameters: p
+ }
+ );
+ }
+
</script>
</div>
</div>