Changeset 958caa8c832be19050b43405922552ba725879a1

Show
Ignore:
Timestamp:
04/13/09 19:03:26 (6 years ago)
Author:
Dave Hubbard <dhubbard@omniti.com>
git-committer:
Dave Hubbard <dhubbard@omniti.com> 1239649406 +0000
git-parent:

[3d5fe50b5e82885f0d42658850ebfb7bf633950a]

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

oops - only bind editable when adding a datapoint if the form is NOT locked

Files:

Legend:

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

    r3d5fe50 r958caa8  
    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   }, { }); 
     277  if (!locked) { 
     278      o.find(".datatitle").editable(function(value, settings) { 
     279      graphinfo.datapoints[$(".datatitle").index(this)].name = value; 
     280      update_current_graph(true); 
     281      return(value); 
     282    }, { }); 
     283 } 
    282284 
    283285  recurse--;