mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 23:29:49 +00:00
Remove unshare confirm
This commit is contained in:
@@ -30,12 +30,14 @@ $(function() {
|
||||
});
|
||||
|
||||
addConfirmTo($('.repo-delete-btn'), '{% trans "Really want to delete?" %}');
|
||||
|
||||
addConfirmTo($('.unshare-btn'), '{% trans "Really want to leave share?" %}');
|
||||
|
||||
$('.unshare-btn').click(function() {
|
||||
location.href = $(this).attr('data');
|
||||
});
|
||||
|
||||
$(".download-btn").click(function() {
|
||||
window.open('{{ SITE_ROOT }}seafile_access_check/?repo_id=' + $(this).attr('data'));
|
||||
});
|
||||
window.open('{{ SITE_ROOT }}seafile_access_check/?repo_id=' + $(this).attr('data'));
|
||||
});
|
||||
|
||||
//show op images when mouse hover on
|
||||
$("table tr:gt(0)").hover(
|
||||
|
Reference in New Issue
Block a user