Fix js for photo deletion. When the user chooses “Cancel”, he doesn't see anymore a page with the word “false” on it.
This commit is contained in:
parent
a028aca8d4
commit
d3737502c9
1 changed files with 1 additions and 5 deletions
|
@ -5,10 +5,6 @@ function delete_photo(passUrl) {
|
||||||
|
|
||||||
if (delete_photo_answer){
|
if (delete_photo_answer){
|
||||||
window.open(passUrl);
|
window.open(passUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
else{
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue