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){
|
$(".delete_box").bind("click", function(e){
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$(".properties").remove();
|
if (confirm("are you sure you wish to permanently delete this box?")) {
|
||||||
boxObj.deleteme();
|
$(".properties").remove();
|
||||||
|
boxObj.deleteme();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user