Remove JS calls to obsolete titania_post_submit() function.
Add method to attachment class to get the file path for an attachment.