mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 15:38:15 +00:00
Added resize to share repo and send link simplemodal
This commit is contained in:
@@ -1042,6 +1042,7 @@ textarea:-moz-placeholder {
|
||||
width:260px;
|
||||
height:80px;
|
||||
padding: 2px;
|
||||
resize: vertical;
|
||||
}
|
||||
#repo-share-form {
|
||||
width:266px;
|
||||
|
@@ -271,6 +271,7 @@ $('#rm-shared-link').click(function() {
|
||||
|
||||
$('#send-shared-link').click(function() {
|
||||
$("#link-send-form").modal({appendTo: "#main", focus: false});
|
||||
$('#simplemodal-container').css('height', 'auto');
|
||||
|
||||
// link-send-form email autocomplete
|
||||
var share_list = [], contact_email;
|
||||
|
@@ -17,6 +17,7 @@ $(function() {
|
||||
$(".repo-share-btn").click(function() {
|
||||
$("#repo_id").val($(this).attr("data"));
|
||||
$("#repo-share-form").modal({appendTo: "#main", focus:false});
|
||||
$('#simplemodal-container').css('height', 'auto');
|
||||
addAutocomplete('#email_or_group', '#repo-share-form', share_list);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user