forked from forgejo/forgejo
finish user delete page ui
This commit is contained in:
parent
6ce9d800d0
commit
7f92579905
7 changed files with 38 additions and 16 deletions
|
@ -104,7 +104,7 @@ function initUserSetting(){
|
|||
var $this = $(this);
|
||||
Gogits.ajaxDelete("",{"id":$this.data("del")},function(json){
|
||||
if(json.ok){
|
||||
$this.parent().remove();
|
||||
window.location.reload();
|
||||
}else{
|
||||
alert(json.err);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue