Skip to content

Commit

Permalink
fix user delete ajax call
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmilk committed Aug 27, 2017
1 parent ea7bcb6 commit c1508d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion private/site_usermgnt.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,10 @@ function fnInitComplete(row, data, index) {
action: function(me) {
var username = $("input[name=username]").val();
$.ajax({
url: "?get_data=hotspot_userdel",
url: "?get_data=hotspot_usermod",
method: "POST",
data: { "username":username },
data: { "name":"delete", "pk":username, "value":"nix ;)" },
}).done(function(data){
me.close();
$("#reload").click();
Expand Down

0 comments on commit c1508d9

Please sign in to comment.