Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
570a413a
Commit
570a413a
authored
Aug 13, 2019
by
Piotr Gawron
Browse files
problem with clicking on search button wasn't reported in GUI
parent
0d0d46fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
frontend-js/src/main/js/gui/leftPanel/AbstractDbPanel.js
View file @
570a413a
...
...
@@ -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
();
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment