Hide the search results automatically when removing the search term (#5783)

This commit is contained in:
Kenn Jacobsen
2019-09-17 10:51:59 +02:00
committed by Sebastiaan Janssen
parent 7c3351e89f
commit f065c455ab

View File

@@ -73,6 +73,9 @@ function treeSearchBox(localizationService, searchService, $q) {
canceler = null;
});
}
else {
scope.hideSearch();
}
}
scope.$watch("term", _.debounce(function(newVal, oldVal) {