Merge branch 'release-1.2'

pull/2120/head
beorn7 10 years ago
commit 7e4d005ee1
  1. 148
      web/ui/bindata.go
  2. 3
      web/ui/static/js/graph.js

File diff suppressed because one or more lines are too long

@ -779,9 +779,8 @@ Prometheus.Page.QueryParamHelper.prototype.parseQueryParamsOfOneGraph = function
queryParams.forEach(function(tuple) {
var optionNameAndValue = tuple.split('=');
var optionName = optionNameAndValue[0];
var optionValue = decodeURIComponent(optionNameAndValue[1]);
optionValue = optionValue.replace(/\+/g, " "); // $.param turns spaces into pluses
var optionValue = decodeURIComponent(optionNameAndValue[1].replace(/\+/g, " "));
if (optionName == "tab") {
optionValue = parseInt(optionValue); // tab is integer

Loading…
Cancel
Save