Commit 73d030e2 authored by Mac Newbold's avatar Mac Newbold
Browse files

Clicking edit-meta-data twice turns off edit mode

parent 53a74dec
...@@ -97,8 +97,9 @@ if ($expstate) { ...@@ -97,8 +97,9 @@ if ($expstate) {
WRITESUBMENUBUTTON("Terminate this Experiment", WRITESUBMENUBUTTON("Terminate this Experiment",
"endexp.php3?pid=$exp_pid&eid=$exp_eid"); "endexp.php3?pid=$exp_pid&eid=$exp_eid");
$editflip = ($edit ? 0 : 1);
WRITESUBMENUBUTTON("Edit Experiment Meta-Data", WRITESUBMENUBUTTON("Edit Experiment Meta-Data",
"showexp.php3?pid=$exp_pid&eid=$exp_eid&edit=1"); "showexp.php3?pid=$exp_pid&eid=$exp_eid&edit=$editflip");
# #
# Admin and project/experiment leader get this option. # Admin and project/experiment leader get this option.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment