mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Focus expression after selection from dropdown
Change-Id: Id7f67e558e3611ab4c7188cc428c342d8d3e67db
This commit is contained in:
parent
86a447fc0e
commit
e389e63684
|
@ -132,7 +132,7 @@ Prometheus.Graph.prototype.initialize = function() {
|
|||
|
||||
self.insertMetric.change(function() {
|
||||
self.expr.selection("replace", {text: self.insertMetric.val(), mode: "before"});
|
||||
self.insertMetric.focus(); // refocusing
|
||||
self.expr.focus(); // refocusing
|
||||
});
|
||||
|
||||
self.expr.focus(); // TODO: move to external Graph method.
|
||||
|
|
Loading…
Reference in a new issue