NIHVIVO-1045 If a request to delete an image comes from a fly-out link on the display page, then that's the page we should return to.
This commit is contained in:
parent
28cdade5dd
commit
3b392c7eba
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ public class ImageUploadController extends FreemarkerHttpServlet {
|
|||
} else if (ACTION_SAVE.equals(action)) {
|
||||
return doCreateThumbnail(vreq, entity);
|
||||
} else if (ACTION_DELETE.equals(action)) {
|
||||
captureReferringUrl(vreq);
|
||||
return doDeleteImage(vreq, entity);
|
||||
} else if (ACTION_DELETE_EDIT.equals(action)) {
|
||||
return doDeleteThenEdit(vreq, entity);
|
||||
|
|
Loading…
Add table
Reference in a new issue