mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-08 15:25:01 -04:00
[#181] fix search result data-name issues ( purging html only for data-name attribute, update op-list checkmarks accordingly )
This commit is contained in:
parent
bc93969d4b
commit
c6cc998100
4 changed files with 7 additions and 6 deletions
|
@ -147,7 +147,6 @@ class RecipeWaiter {
|
|||
return;
|
||||
}
|
||||
|
||||
console.log("opSortEnd ==>", evt.item);
|
||||
this.buildRecipeOperation(evt.item);
|
||||
evt.item.dispatchEvent(this.manager.operationadd);
|
||||
}
|
||||
|
@ -372,7 +371,6 @@ class RecipeWaiter {
|
|||
* @param {element} el - The operation stub element from the operations pane
|
||||
*/
|
||||
buildRecipeOperation(el) {
|
||||
console.log("buildRecipeOperation ==>", el);
|
||||
const opName = el.textContent;
|
||||
const op = new HTMLOperation(opName, this.app.operations[opName], this.app, this.manager);
|
||||
el.innerHTML = op.toFullHtml();
|
||||
|
@ -398,7 +396,6 @@ class RecipeWaiter {
|
|||
* @returns {element}
|
||||
*/
|
||||
addOperation(name) {
|
||||
console.log("addOperation ==>", name);
|
||||
const item = document.createElement("li");
|
||||
item.setAttribute("data-name", name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue