Attachments count is now updated in navbar
[citadel.git] / webcit / static / t / edit_message / attachments_pane.html
index 6f610d280d8575a72406ce6ec2f9c1cf3c9742bd..95408230c4e83063f9a01fd1cb4ddf7b02aa50a2 100644 (file)
@@ -18,7 +18,7 @@
 <div id="gonna_upload_this">
 <input type="hidden" name="submit_action" value="">
 <?_("Attach file:")>
-<input name="attachfile" id="attachfile" class="attachfile" size=40 type="file" onChange="$('gonna_upload_this').style.display='none'; $('upload_throbber').style.display='block'; document.upload_attachment_form.submit(); $('attachfile').value=''; show_attachments_form();">
+<input name="attachfile" id="attachfile" class="attachfile" size=40 type="file" onChange="$('gonna_upload_this').style.display='none'; $('upload_throbber').style.display='block'; document.upload_attachment_form.submit(); $('attachfile').value=''; show_attachments_form(); update_attachment_count();">
 </div>
 
 <div id="upload_throbber" style="display:none">