DSS-5577: Fixes user handling of enter key when searching for keywords

This commit is contained in:
Seyi Adebajo 2016-11-14 10:01:12 -08:00
parent 84711db105
commit 7167448bcb

View File

@ -354,6 +354,14 @@
}
});
// This is a stop gap implementation to solve the issue with handling the enter key on user search
document.querySelector('#searchInput')
.addEventListener('keypress', ({keyCode}) => {
if (keyCode === 13) {
document.querySelector('#searchBtn').click();
}
});
function advSearchForDataset()
{
var empty = true;