mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 06:33:48 +00:00
Modify repo share.
* Email unregistered user when sharing repo. * Add email to contacts when share repo/file and add group user. * Remove org repo share link.
This commit is contained in:
@@ -18,8 +18,7 @@ $(function() {
|
||||
//check before post
|
||||
$('#share-submit-btn').click(function() {
|
||||
if (!$.trim($('#email_or_group').attr('value'))) {
|
||||
$('#repo-share-form .error').removeClass('hide');
|
||||
$('#simplemodal-container').css('height', $('#repo-share-form').height());
|
||||
apply_form_error('repo-share-form', '输入不能为空。');
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user