Skip to content
Snippets Groups Projects
Commit 26992254 authored by Michael Gapczynski's avatar Michael Gapczynski
Browse files

Give share with search focus when sharing dropdown appears

parent 9e4c3b83
No related branches found
No related tags found
No related merge requests found
......@@ -95,7 +95,6 @@ OC.Share={
}
});
}
$('#dropdown').show('blind');
$('#shareWith').autocomplete({minLength: 2, source: function(search, response) {
// if (cache[search.term]) {
// response(cache[search.term]);
......@@ -127,6 +126,8 @@ OC.Share={
return false;
}
});
$('#dropdown').show('blind');
$('#shareWith').focus();
},
hideDropDown:function(callback) {
$('#dropdown').hide('blind', function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment