Allow selecting metric from Insert Metric

Change-Id: I99e0539cab2749a8aeabc0a13015889ff45834f7
pull/413/head
Andres Suarez 10 years ago committed by Bjoern Rabenstein
parent 7f5d3c2c29
commit 86a447fc0e

@ -134,7 +134,6 @@ Prometheus.Graph.prototype.initialize = function() {
self.expr.selection("replace", {text: self.insertMetric.val(), mode: "before"});
self.insertMetric.focus(); // refocusing
});
self.insertMetric.click(function() { self.expr.focus() });
self.expr.focus(); // TODO: move to external Graph method.

Loading…
Cancel
Save