phpnuxbill/ui/lib/c/users.js

9 lines
290 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=settings/users-delete/" + id;
}
});
});