Browse Source

Never submit empty queries.

pull/213/head
Johannes 'fish' Ziemke 12 years ago
parent
commit
c5e507cd9c
  1. 3
      web/static/js/graph.js

3
web/static/js/graph.js

@ -275,6 +275,9 @@ Prometheus.Graph.prototype.decreaseEnd = function() {
Prometheus.Graph.prototype.submitQuery = function() {
var self = this;
if (!self.expr.val()) {
return
}
self.spinner.show();
self.evalStats.empty();

Loading…
Cancel
Save