mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-01 23:38:37 +00:00
[group]fixed bug for group-rm
This commit is contained in:
parent
a2d7d74f4a
commit
fbe3a65e70
@ -54,10 +54,7 @@
|
||||
|
||||
{% block extra_script %}
|
||||
<script type="text/javascript">
|
||||
$("#group-remove").click(function() {
|
||||
addConfirmTo($(this), '确定要解散该小组吗?');
|
||||
return false;
|
||||
});
|
||||
addConfirmTo($("#group-remove"), '确定要解散该小组吗?');
|
||||
|
||||
$('.member-remove-btn').click(function() {
|
||||
$("#user_name").val($(this).attr('data'));
|
||||
|
@ -8,6 +8,7 @@ function addConfirmTo(ele, confirm_con) {
|
||||
}
|
||||
$('#dialog-confirm').modal({appendTo:'#main'});
|
||||
Op_url = $(this).attr('data');
|
||||
return false;//in case ele is '<a>'
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user