summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/js/share.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/js/share.js b/core/js/share.js
index 2d6bc653fa7..5832acfd454 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -113,7 +113,11 @@ OC.Share={
}
});
// }
- }, select: function(event, selected) {
+ },
+ focus: function(event, focused) {
+ event.preventDefault();
+ },
+ select: function(event, selected) {
var shareType = selected.item.value.shareType;
var shareWith = selected.item.value.shareWith;
$(this).val(shareWith);