diff --git a/Website/interaction.js b/Website/interaction.js index a2f9f8b..6985228 100644 --- a/Website/interaction.js +++ b/Website/interaction.js @@ -59,6 +59,7 @@ GetAvailableControllers() searchPublicationQuery.addEventListener("keypress", (event) => { if(event.key === "Enter"){ + selectPublication.replaceChildren(); GetPublication(connectorSelect.value, searchPublicationQuery.value) //.then(json => console.log(json)); .then(json => @@ -121,6 +122,7 @@ function ResetContent(){ } function ShowNewTaskWindow(){ + selectPublication.replaceChildren(); addtaskpopup.style.display = "block"; addtaskpopup.animate(fadeIn, fadeInTiming); }