url binding and skeleton js for remove attachment
authorArt Cancro <ajc@citadel.org>
Mon, 13 Dec 2010 00:29:21 +0000 (19:29 -0500)
committerArt Cancro <ajc@citadel.org>
Mon, 13 Dec 2010 00:29:21 +0000 (19:29 -0500)
webcit/static/t/edit_message.html
webcit/static/t/edit_message/section_attach_select.html

index 2e432d38920c66bdc27b5f5a7dda267ee92c8546..059b96c0b221ed49a7e806a4d9e5ea4cc23a86aa 100644 (file)
                );
        }
 
+       function remove_attachment(which_one) {
+               alert('FIXME ' + which_one);
+       }
+
 </script>
 </div>
 </div>
index 02b8e9fa5d26e67ca400c3b308edb8f2066733d1..64e8f00e8d15e7bec6735034df3c600ab3fdd62f 100644 (file)
@@ -1,5 +1,5 @@
 <li>
        <?MAIL:MIME:FILENAME("X")> (<?MAIL:MIME:CONTENTTYPE>, <?MAIL:MIME:LENGTH> bytes)
        &nbsp;
-       <a href="delete_attachment?which_del=<?MAIL:MIME:FILENAME("U")>"><?_("Remove")></a>
+       <a href="javascript:remove_attachment('<?MAIL:MIME:FILENAME("U")>');"><?_("Remove")></a>
 </li>