New upload dialog is now feature complete
authorArt Cancro <ajc@citadel.org>
Sat, 11 Dec 2010 02:23:52 +0000 (21:23 -0500)
committerArt Cancro <ajc@citadel.org>
Sat, 11 Dec 2010 02:23:52 +0000 (21:23 -0500)
webcit/static/t/edit_message/attachments_pane.html
webcit/static/t/edit_message/section_attach_select.html

index b3d1677f463e1b381109e7f19bc584201d6775e5..60cb75d8639cfc07e4a10b05d0d38cd15dba4735 100644 (file)
@@ -5,13 +5,11 @@
 <h2><img src="static/diskette_24x.gif">&nbsp;<?_("Attachments:")></h2>
 
 <ul>
-<li>FIXME this is teh not done
 <?ITERATE("MSG:ATTACHNAMES", ="edit_message_section_attach_select")>
-<li>FIXME <?_("Add")> <?_("Remove")>
 </ul>
 
-<iframe id="upload_target" name="upload_target" src="" style="width:100;height:100;border:4px solid #fff;">
-Missing iframe support?  Teh b0rwser will not work!!!1
+<iframe id="upload_target" name="upload_target" src="" style="width:0;height:0;border:0">
+(Hidden iFrame for uploads because ajax cannot handle files)
 </iframe>
 
 <form name="upload_attachment_form" id="upload_attachment_form" accept-charset="UTF-8" enctype="multipart/form-data" method="POST" action="upload_attachment" target="upload_target">
index 81c8787a1efe40e409b645eeb4d8205b3ae8e599..02b8e9fa5d26e67ca400c3b308edb8f2066733d1 100644 (file)
@@ -1,6 +1,5 @@
 <li>
-       <?MAIL:MIME:FILENAME("U")>&nbsp;
-       <?MAIL:MIME:FILENAME("X")> (%<?MAIL:MIME:CONTENTTYPE>, <?MAIL:MIME:LENGTH>Bytes)
-       &nbsp;&nbsp;<input type="submit" name="remove_attach_button" value="<?_("Remove")>">
+       <?MAIL:MIME:FILENAME("X")> (<?MAIL:MIME:CONTENTTYPE>, <?MAIL:MIME:LENGTH> bytes)
+       &nbsp;
+       <a href="delete_attachment?which_del=<?MAIL:MIME:FILENAME("U")>"><?_("Remove")></a>
 </li>
-