Skip to content

Commit

Permalink
SAK-49909 SiteManage "u" or "d" cannot be entered as Tool Title (saka…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm authored Apr 8, 2024
1 parent 66b3eb8 commit 4805595
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site-manage/pageorder/tool/src/webapp/content/js/orderUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ $(document).ready(function(){

li.addEventListener("keydown", e => {

// If user is inside input box, don't prevent them from using U or D
if (e.target.matches('input, textarea')) {
return;
}

const el = e.target;

if (e.keyCode == 68) {
Expand Down

0 comments on commit 4805595

Please sign in to comment.