1
0
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:
zhengxie
2012-11-09 10:12:04 +08:00
parent 6c8101e7f3
commit 8786392ab9
3 changed files with 3 additions and 0 deletions

View File

@@ -1042,6 +1042,7 @@ textarea:-moz-placeholder {
width:260px; width:260px;
height:80px; height:80px;
padding: 2px; padding: 2px;
resize: vertical;
} }
#repo-share-form { #repo-share-form {
width:266px; width:266px;

View File

@@ -271,6 +271,7 @@ $('#rm-shared-link').click(function() {
$('#send-shared-link').click(function() { $('#send-shared-link').click(function() {
$("#link-send-form").modal({appendTo: "#main", focus: false}); $("#link-send-form").modal({appendTo: "#main", focus: false});
$('#simplemodal-container').css('height', 'auto');
// link-send-form email autocomplete // link-send-form email autocomplete
var share_list = [], contact_email; var share_list = [], contact_email;

View File

@@ -17,6 +17,7 @@ $(function() {
$(".repo-share-btn").click(function() { $(".repo-share-btn").click(function() {
$("#repo_id").val($(this).attr("data")); $("#repo_id").val($(this).attr("data"));
$("#repo-share-form").modal({appendTo: "#main", focus:false}); $("#repo-share-form").modal({appendTo: "#main", focus:false});
$('#simplemodal-container').css('height', 'auto');
addAutocomplete('#email_or_group', '#repo-share-form', share_list); addAutocomplete('#email_or_group', '#repo-share-form', share_list);
}); });