mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 23:54:05 -08:00
Allow selecting metric from Insert Metric
Change-Id: I99e0539cab2749a8aeabc0a13015889ff45834f7
This commit is contained in:
parent
de337e6404
commit
76527bae8b
|
@ -134,7 +134,6 @@ Prometheus.Graph.prototype.initialize = function() {
|
||||||
self.expr.selection("replace", {text: self.insertMetric.val(), mode: "before"});
|
self.expr.selection("replace", {text: self.insertMetric.val(), mode: "before"});
|
||||||
self.insertMetric.focus(); // refocusing
|
self.insertMetric.focus(); // refocusing
|
||||||
});
|
});
|
||||||
self.insertMetric.click(function() { self.expr.focus() });
|
|
||||||
|
|
||||||
self.expr.focus(); // TODO: move to external Graph method.
|
self.expr.focus(); // TODO: move to external Graph method.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue