NIHVIVO-1776: Refactored alert error message when user delete individual's photo.
This commit is contained in:
parent
f96fbfa3f8
commit
94141e048c
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
||||||
// Confirmation alert for photo deletion in image upload and individual templates
|
// Confirmation alert for photo deletion in image upload and individual templates
|
||||||
$('#photoUploadDefaultImage a.thumbnail').click(function(){
|
$('#photoUploadDefaultImage a.thumbnail, a.delete-mainImage').click(function(){
|
||||||
var answer = confirm('Are you sure you want to delete your photo?');
|
var answer = confirm('Are you sure you want to delete this photo?');
|
||||||
return answer;
|
return answer;
|
||||||
});
|
});
|
||||||
});
|
});
|
Loading…
Add table
Add a link
Reference in a new issue