summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/share.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 44abc14ede4..2d6bc653fa7 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -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() {