1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 23:00:57 +00:00

Add basic autocomplete for @

This commit is contained in:
xiez
2012-08-19 13:36:32 +08:00
parent afb29917bf
commit 12b63f3e7a
5 changed files with 76 additions and 2 deletions

View File

@@ -13,7 +13,6 @@ $(function() {
$("#repo_id").val($(this).attr("data"));
$("#repo-share-form").modal({appendTo: "#main"});
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