mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 10:26:17 +00:00
improved contact_add
This commit is contained in:
@@ -43,7 +43,11 @@ $(function() {
|
||||
});
|
||||
|
||||
//repo-create-form
|
||||
$('#repo-create').hover(
|
||||
$('#repo-create')
|
||||
.click(function() {
|
||||
$('#repo-create-form').modal({appendTo: '#main', autoResize: true});
|
||||
})
|
||||
.hover(
|
||||
function() {
|
||||
$(this).css({'background-color': '#fff', 'cursor': 'pointer'});
|
||||
},
|
||||
@@ -51,9 +55,6 @@ $('#repo-create').hover(
|
||||
$(this).css('background-color', '#f5f5f5');
|
||||
}
|
||||
);
|
||||
$('#repo-create').click(function() {
|
||||
$('#repo-create-form').modal({appendTo: '#main', autoResize: true});
|
||||
});
|
||||
$('#encrypt-switch').click(function () {
|
||||
if ($(this).attr('checked')) {
|
||||
$('#repo-create-form input[type="password"]').attr('disabled', false).removeClass('input-disabled');
|
||||
@@ -125,4 +126,4 @@ $('#repo-create-submit').click(function() {
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user