Skip to content

Commit

Permalink
fix user del 2page no response bug
Browse files Browse the repository at this point in the history
  • Loading branch information
guohongze committed May 13, 2019
1 parent ae8bb57 commit c071724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/accounts/user_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<td class="text-center" data-editable='false'>
{# <a href="{% url 'user_edit' %}?id={{ host.id }}" class="btn btn-xs btn-info">编辑</a>#}
<a id="useredit" style="display: block; float: left; margin: auto;" href="#"><li class="btn btn-sm btn-info" onclick="return tanchu(this.value)" value="{{ i.id }}">编辑</li></a>
<a id="userdel" style="display: block; float: left; margin: auto;" value="{% url 'user_del' i.id %}" class="btn btn-sm btn-danger user_del">删除</a>
<a id="userdel" onclick="return checkSubmit()" style="display: block; float: left; margin: auto;" href="{% url 'user_del' i.id %}" class="btn btn-sm btn-danger user_del">删除</a>
</td>
</tr>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="pull-right hidden-xs">
</div>
<!-- Default to the left bar -->
<div>AdminSet v0.56.1 &nbsp;&nbsp;
<div>AdminSet v0.56.2 &nbsp;&nbsp;
<a href="http:https://docs.adminset.cn" target="_blank">用户手册</a>
</div>
</footer>

0 comments on commit c071724

Please sign in to comment.