mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-19 18:29:23 +00:00
Disable focus when using placeholder
This commit is contained in:
@@ -265,12 +265,12 @@ $('.msg-delete').click(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('.grp-admin-add').click(function() {
|
$('.grp-admin-add').click(function() {
|
||||||
$("#admin-add-form").modal({appendTo: "#main"});
|
$("#admin-add-form").modal({appendTo: "#main", focus: false});
|
||||||
addAutocomplete('#added-admin-name', '#admin-add-form', contact_list);
|
addAutocomplete('#added-admin-name', '#admin-add-form', contact_list);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#grp-member-add').click(function() {
|
$('#grp-member-add').click(function() {
|
||||||
$("#member-add-form").modal({appendTo: "#main"});
|
$("#member-add-form").modal({appendTo: "#main", focus: false});
|
||||||
addAutocomplete('#added-member-name', '#member-add-form', contact_list);
|
addAutocomplete('#added-member-name', '#member-add-form', contact_list);
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
$("#group-admin-add").click(function() {
|
$("#group-admin-add").click(function() {
|
||||||
$("#admin-add-form").modal({appendTo: "#main"});
|
$("#admin-add-form").modal({appendTo: "#main", focus: false});
|
||||||
addAutocomplete('#added-admin-name', '#admin-add-form', contact_list);
|
addAutocomplete('#added-admin-name', '#admin-add-form', contact_list);
|
||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
$("#group-member-add").click(function() {
|
$("#group-member-add").click(function() {
|
||||||
$("#member-add-form").modal({appendTo: "#main"});
|
$("#member-add-form").modal({appendTo: "#main", focus:false});
|
||||||
addAutocomplete('#added-member-name', '#member-add-form', contact_list);
|
addAutocomplete('#added-member-name', '#member-add-form', contact_list);
|
||||||
return false;
|
return false;
|
||||||
})
|
})
|
||||||
|
@@ -270,7 +270,7 @@ $('#rm-shared-link').click(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#send-shared-link').click(function() {
|
$('#send-shared-link').click(function() {
|
||||||
$("#link-send-form").modal({appendTo: "#main"});
|
$("#link-send-form").modal({appendTo: "#main", focus: false});
|
||||||
|
|
||||||
// link-send-form email autocomplete
|
// link-send-form email autocomplete
|
||||||
var share_list = [], contact_email;
|
var share_list = [], contact_email;
|
||||||
|
@@ -16,7 +16,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"});
|
$("#repo-share-form").modal({appendTo: "#main", focus:false});
|
||||||
addAutocomplete('#email_or_group', '#repo-share-form', share_list);
|
addAutocomplete('#email_or_group', '#repo-share-form', share_list);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user