NIHVIVO-772 entityBasic.jsp will use imageUploadUtils.js instead of confirmPhotoDeletion.js. Modify PropertyEditLinks.java so only the thumbnail delete link will have the "thumbnail" class.
This commit is contained in:
parent
8a299c67a0
commit
46aed7047c
3 changed files with 8 additions and 21 deletions
|
@ -1,9 +0,0 @@
|
|||
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
|
||||
|
||||
|
||||
function delete_photo(passUrl) {
|
||||
var delete_photo_answer = confirm ("Are you sure you want to delete your photo?");
|
||||
if (delete_photo_answer){
|
||||
window.open(passUrl);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue