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

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
id='parameter_$name'
name=\"parameters[$name]\"
value=\"\"
value=\"" . $value . "\"
size=60
maxlength=1024>
</td>
......@@ -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->Bindings($bindings);
$instance->RunBindings($instance->LastRunIdx(), $bindings);
#
# Allow formfields that are already set to override defaults
......
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