Argh, this was rough to troubleshoot..soo many things could've been tripping it up. It ended up that it was a URL problem, but the sort I had anticipated.
The JavaScript that called the submission-delete widget was passing the id as a part of the 2nd sub-directory (i.e. scalejournal.org/images/delete11) instead of in it's own subdirectory (i.e. scalejournal.org/images/delete/11) & thus the delete widget (which was looking for the id in the 3rd subdirectory) was confused because it couldn't find a 3rd subdirectory.
Argh, this was rough to troubleshoot..soo many things could've been tripping it up. It ended up that it was a URL problem, but the sort I had anticipated.
The JavaScript that called the submission-delete widget was passing the id as a part of the 2nd sub-directory (i.e. scalejournal. org/images/ delete11) instead of in it's own subdirectory (i.e. scalejournal. org/images/ delete/ 11) & thus the delete widget (which was looking for the id in the 3rd subdirectory) was confused because it couldn't find a 3rd subdirectory.
A simple JS tweak has righted the issue.