arrow_nav: add KeyUp for parent

This commit is contained in:
Stian Lund 2024-03-28 16:00:57 +01:00
parent 9797a6b962
commit 365b9097cd

View File

@ -5,6 +5,7 @@
direction = 'ltr',
keyPrevious = 37,
keyNext = 39,
keyUp = 38,
keyDelete = 119,
url;
@ -60,6 +61,10 @@
url = $('.g-paginator .g-text-right a').eq(0).attr("href");
break;
case keyUp:
url = $('.g-breadcrumbs li:nth-last-of-type(2) a').eq(0).attr("href");
break;
case keyDelete:
$('a.g-dialog-link.g-quick-delete').click();
return false;