Delete button doesn't work for submitted images on private profile
Bug #714473 reported by
Brad Phillips
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
scalejournal |
Fix Released
|
Critical
|
Brad Phillips |
Bug Description
This may be due to the recent url structural changes to writers/
To post a comment you must log in.
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.