Commit 570a413a authored by Piotr Gawron's avatar Piotr Gawron
Browse files

problem with clicking on search button wasn't reported in GUI

parent 0d0d46fb
......@@ -52,13 +52,13 @@ AbstractDbPanel.prototype._createEventHandlers = function () {
busyImage.show();
return self.searchByQuery().finally(function () {
busyImage.hide();
});
}).catch(GuiConnector.alert);
};
searchButton.onclick = searchByQuery;
searchInput.onkeypress = function (event) {
if (event.keyCode === 13) {
return searchByQuery().then(null, GuiConnector.alert);
return searchByQuery();
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment