mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
improved auto-complete in myhome
This commit is contained in:
@@ -13,6 +13,7 @@ $(function() {
|
|||||||
$("#repo_id").val($(this).attr("data"));
|
$("#repo_id").val($(this).attr("data"));
|
||||||
$("#repo-share-form").modal({appendTo: "#main"});
|
$("#repo-share-form").modal({appendTo: "#main"});
|
||||||
addAutocomplete('#email_or_group', '#repo-share-form', share_list);
|
addAutocomplete('#email_or_group', '#repo-share-form', share_list);
|
||||||
|
$('.ui-autocomplete').css({'max-height': window.innerHeight - $('.ui-autocomplete-input').offset().top - $('.ui-autocomplete-input').height() - 10, 'overflow': 'auto'});
|
||||||
});
|
});
|
||||||
|
|
||||||
//check before post
|
//check before post
|
||||||
|
Reference in New Issue
Block a user