phpnuxbill/ui/lib/c/pool.js

9 lines
280 B
JavaScript
Raw Normal View History

2017-03-11 03:51:06 +08:00
$(document).on("click", ".cdelete", function(e) {
e.preventDefault();
var id = this.id;
bootbox.confirm("Are you sure?", function(result) {
if(result){
window.location.href = "index.php?_route=pool/delete/" + id;
}
});
});