added confirm to delete boxes
This commit is contained in:
parent
c4a8957161
commit
0334a504aa
|
@ -1655,8 +1655,10 @@ $(".box").live("click", function(e){
|
|||
|
||||
$(".delete_box").bind("click", function(e){
|
||||
e.preventDefault();
|
||||
$(".properties").remove();
|
||||
boxObj.deleteme();
|
||||
if (confirm("are you sure you wish to permanently delete this box?")) {
|
||||
$(".properties").remove();
|
||||
boxObj.deleteme();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user