From 6e7dfbf333c039e78b7a5803b365c5daec147cd6 Mon Sep 17 00:00:00 2001 From: didier Date: Fri, 10 Jan 2025 18:51:48 +0100 Subject: [PATCH] add del key --- resources/views/admin/reports/explore.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/admin/reports/explore.blade.php b/resources/views/admin/reports/explore.blade.php index 1423b575..de6dcf4e 100644 --- a/resources/views/admin/reports/explore.blade.php +++ b/resources/views/admin/reports/explore.blade.php @@ -420,9 +420,8 @@ function handle_keypressed(e) { } $('body').keydown(function(event){ - console.log(event,event.ctrlKey,event.keyCode); // delete - if(event.keyCode == 46) { + if((event.keyCode == 8)||(event.keyCode == 46)) { network.deleteSelected() } });