1
0
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:
zhengxie
2012-11-09 19:59:04 +08:00
parent b3fe4e388c
commit c0f2cc1c9b
5 changed files with 17 additions and 16 deletions

View File

@@ -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(