We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2d3bd commit fdeeeddCopy full SHA for fdeeedd
scanpipe/templates/scanpipe/resource_tree.html
@@ -183,7 +183,8 @@
183
function handleSearchResultClick(searchResultItem) {
184
const path = searchResultItem.dataset.path;
185
186
- clearSearch();
+ toggleSearchResults(false);
187
+ searchInput.blur();
188
189
fetch(`{% url 'codebase_resource_table' project.slug %}?path=${encodeURIComponent(path)}`)
190
.then(response => response.text())
@@ -206,7 +207,8 @@
206
207
208
searchInput.addEventListener('keydown', function(e) {
209
if (e.key === 'Escape') {
210
211
212
}
213
});
214
0 commit comments