Commit 9f7eafb0 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Address FS#129 (bug).

In addition, current run bindings default to last run's bindings.
This is partly to address Kevin's request in FS#128 (although that
request is for the instance page).
parent 4e66d847
......@@ -371,7 +371,7 @@ function SPITFORM($instance, $formfields, $parameters, $errors)
<input type=text
value=\"" . $value . "\"
......@@ -474,9 +474,9 @@ elseif (!isset($exprun)) {
$defaults['runid'] = $instance->NextRunID();
# Get the current bindings for the template instance.
# Get the current bindings of the current run.
$instance->RunBindings($instance->LastRunIdx(), $bindings);
# Allow formfields that are already set to override defaults
Supports Markdown
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