So I have this plugin which associates images from the media upload modal to taxonomy terms via
/wp-admin/edit-tags.php. The current version is in the branch named "button".
Basically, I've swapped out the "Insert in Post" button (input type="submit") with a custom "Add Thumbnail to Taxonomy" (span element) which calls an ajax script which creates an association between attachment and term. All of this works well.
The part that I cannot figure out is how to save information when a user makes changes to the attachment data (title, caption, etc.). While it's not really necessary for the plugin to do this ... more than a handful of users have requested this. And it makes sense to do because WordPress will do this when inserting into post content using the "Insert in Post" button.
I've tried to implement similar functionality in my plugin by changing the span to a submit input, but this does no good at all. Firebug reports a 404 for my custom Ajax request and the modal does not close. This is really odd to me because the image still gets associated with the term.
Any help or suggestions would be greatly appreciated here!