Prevent up and down arrow from changing the share with input value
This commit is contained in:
parent
b6aa5d2875
commit
83b935a1c2
|
@ -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 New Issue