1
0
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:
llj
2012-08-04 15:17:55 +08:00
parent 958ded9688
commit 14874cb389

View File

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