Added shortcut-key support to bulk action extension

This commit is contained in:
Matthew Barbour
2019-06-26 22:41:42 -05:00
committed by Shish
parent a82fb56063
commit c4111cc948
7 changed files with 45 additions and 22 deletions

View File

@@ -124,7 +124,7 @@ class Trash extends Extension
global $user;
if ($user->can("view_trash")&&in_array("in:trash", $event->search_terms)) {
$event->add_action("bulk_trash_restore","Restore From Trash");
$event->add_action("bulk_trash_restore","(U)ndelete", "u");
}
}