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