Changeset 3d5fe50b5e82885f0d42658850ebfb7bf633950a

Show
Ignore:
Timestamp:
04/13/09 18:43:27 (9 years ago)
Author:
Dave Hubbard <dhubbard@omniti.com>
git-committer:
Dave Hubbard <dhubbard@omniti.com> 1239648207 +0000
git-parent:

[a647406d9e447fa4cb7212f74bc63a1fcf52dfea]

git-author:
Dave Hubbard <dhubbard@omniti.com> 1239648207 +0000
Message:

when adding a new datapoint, make the title editable

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/htdocs/graph_panel.inc

    rfcb3fa5 r3d5fe50  
    275275  o.find(".datatitle").attr("title", d.mouse_title); 
    276276 
     277  o.find(".datatitle").editable(function(value, settings) { 
     278    graphinfo.datapoints[$(".datatitle").index(this)].name = value; 
     279    update_current_graph(true); 
     280    return(value); 
     281  }, { }); 
     282 
    277283  recurse--; 
    278284  $("#gtool #dataPoints").append(o.children()); 
     
    316322         }); 
    317323    } 
     324 
    318325    return false; 
    319326  });