Prevent up and down arrow from changing the share with input value

remotes/origin/stable45
Michael Gapczynski 13 years ago
parent b6aa5d2875
commit 83b935a1c2
  1. 6
      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);

Loading…
Cancel
Save