diff options
author | Mark Wells <mark@freeside.biz> | 2015-09-30 22:49:38 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2015-09-30 22:49:38 -0700 |
commit | d07c72046444319e0811c6a00b504885da091992 (patch) | |
tree | 145b723189b757087d9984eafb96413ab994061c /httemplate/edit/process/elements | |
parent | 21b519eb5313ebe09242a2d90e1e615c56c64739 (diff) |
graphical selection of deployment zones and automatic block lookup, #30260
Diffstat (limited to 'httemplate/edit/process/elements')
-rw-r--r-- | httemplate/edit/process/elements/process.html | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/httemplate/edit/process/elements/process.html b/httemplate/edit/process/elements/process.html index 69bd605f6..a76f4befb 100644 --- a/httemplate/edit/process/elements/process.html +++ b/httemplate/edit/process/elements/process.html @@ -160,7 +160,26 @@ process(); </script> <& /elements/footer.html &> -%} elsif ( $opt{'popup_reload'} ) { +% } elsif ( $opt{'progress_init'} ) { +% # some false laziness with the above +% my ($form_name, $job_fields) = @{ $opt{'progress_init'} }; +<form name="<% $form_name %>"> +% foreach my $field (@$job_fields) { + <input type="hidden" name="<% $field %>" value="<% $cgi->param($field) |h %>"> +% } +<& /elements/progress-init.html, + @{ $opt{'progress_init'} } +&> +<input type="submit" style="display:none"> +</form> +<script> +<&| /elements/onload.js &> +process(); +</&> +</script> +<& /elements/footer.html &> + +% } elsif ( $opt{'popup_reload'} ) { <% include('/elements/header-popup.html', $opt{'popup_reload'} ) %> |