Merge remote branch 'origin/xorg/maint' into xorg/master
[platal.git] / templates / emails / send.tpl
index a0d501a..f637339 100644 (file)
       {literal}
       function removeAttachments()
       {
-          Ajax.update_html(null, 'emails/send', null);
-          document.getElementById('att_already').style.display = 'none';
-          document.getElementById('att_form').style.display = '';
+          $.xget('email/send');
+          $('#att_already').hide();
+          $('#att_form').show();
       }
       {/literal}
     //]]></script>