Changeset fd7d27d985d3f4af8965d75d9d06297805eae2d0

Show
Ignore:
Timestamp:
09/23/08 14:40:32 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1222180832 +0000
git-parent:

[146a7f3bfbf2f113f1cbdba31a2ba3e575d3e2f8]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1222180832 +0000
Message:

add title(name) info, refs #22

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/htdocs/ds_json.php

    r9478c46 rfd7d27d  
    4949                   ); 
    5050    if($item['unique']) { 
    51       $jitem['text'] = '<a href="javascript:graph_add_datapoint({\'sid\' : ' . $item['sid'] . ', \'metric_name\' : \'' . $item['metric_name'] . '\', \'metric_type\' : \'' . $item['metric_type'] . '\'})">' . $item[$want] . '</a>'; 
     51      $jitem['text'] = '<a href="javascript:graph_add_datapoint({\'sid\' : ' . $item['sid'] . ', \'name\' : \'' . $item['target'] . '`' . $item['metric_name'] . '\', \'metric_name\' : \'' . $item['metric_name'] . '\', \'metric_type\' : \'' . $item['metric_type'] . '\'})">' . $item[$want] . '</a>'; 
    5252      if($item['metric_type'] == "numeric") { 
    5353        $jitem['classes'] = 'metric numeric';