Commit fab67c70 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(ids) catch <enter> for inputSearchAlerts , closes https://github.com/opnsense/core/issues/829

(cherry picked from commit bd7dfb22)
parent 84940754
...@@ -407,6 +407,11 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -407,6 +407,11 @@ POSSIBILITY OF SUCH DAMAGE.
$("#actQueryAlerts").click(function(){ $("#actQueryAlerts").click(function(){
$('#grid-alerts').bootgrid('reload'); $('#grid-alerts').bootgrid('reload');
}); });
$("#inputSearchAlerts").keypress(function (e) {
if (e.which == 13) {
$("#actQueryAlerts").click();
}
});
/** /**
* Initialize * Initialize
......
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