mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] fix selected / checkmark classes on operation list, based on the current recipe list. Update TODO
This commit is contained in:
parent
ccc5095763
commit
5e9aa5cd09
5 changed files with 82 additions and 13 deletions
|
@ -236,7 +236,6 @@ class OperationsWaiter {
|
|||
*/
|
||||
operationDblclick(e) {
|
||||
const li = e.target;
|
||||
e.target.classList.add("selected");
|
||||
this.manager.recipe.addOperation(li.getAttribute("data-name"));
|
||||
}
|
||||
|
||||
|
@ -340,6 +339,7 @@ class OperationsWaiter {
|
|||
this.app.saveFavourites(favouritesList);
|
||||
this.app.loadFavourites();
|
||||
this.app.populateOperationsList();
|
||||
this.manager.recipe.updateSelectedOperations();
|
||||
this.manager.recipe.initialiseOperationDragNDrop();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue