mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Prevent up and down arrow from changing the share with input value
This commit is contained in:
parent
b6aa5d2875
commit
83b935a1c2
1 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue