mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 16:51:31 -04:00
remove listItemUpdate related classes into c-operation-list and simplify code, as duplicates in the operation lists are now no longer an issue in the context of this. Add a custom events to dispatch on change of favourites
This commit is contained in:
parent
6a11d14794
commit
4dc4645def
6 changed files with 59 additions and 85 deletions
|
@ -250,8 +250,6 @@ class RecipeWaiter {
|
|||
|
||||
item.dispatchEvent(this.manager.operationadd);
|
||||
document.dispatchEvent(this.app.manager.statechange);
|
||||
|
||||
this.manager.ops.updateListItemsClasses("#rec-list", "selected");
|
||||
return item;
|
||||
}
|
||||
|
||||
|
@ -269,8 +267,6 @@ class RecipeWaiter {
|
|||
recList.dispatchEvent(this.manager.operationremove);
|
||||
|
||||
window.dispatchEvent(this.app.manager.statechange);
|
||||
|
||||
this.app.manager.ops.updateListItemsClasses("#rec-list", "selected");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue