NIHVIVO-1706: changed jQuery selector for adding alert feedback when deleting individual photos in individual templates.
This commit is contained in:
parent
a7ef580161
commit
d357222b2a
1 changed files with 3 additions and 4 deletions
|
@ -3,8 +3,7 @@
|
|||
$(document).ready(function(){
|
||||
|
||||
// Confirmation alert for photo deletion in image upload and individual templates
|
||||
$('#photoUploadDefaultImage a.thumbnail,#share-contact a:eq(2)').click(function(){
|
||||
//$('#share-contact a [title="delete this relationship"]').click(function(){
|
||||
$('#photoUploadDefaultImage a.thumbnail,#share-contact a[title="delete this relationship"]').click(function(){
|
||||
var answer = confirm('Are you sure you want to delete your photo?');
|
||||
return answer;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue