diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2015-10-05 14:43:05 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2015-10-05 14:43:05 -0700 |
| commit | cace897d9c5fbe1f80277b0cb14e85c9d2272cf1 (patch) | |
| tree | 05f2ccf032fecaf1572eda229612bc25c38da487 /httemplate/edit/process/elements/process.html | |
| parent | d942f94119fdc54dc416e309f36d385652fb5272 (diff) | |
| parent | 323d6a0c3ee3d7752225b712f5bdcfbb1581d61f (diff) | |
Merge branch 'master' of git.freeside.biz:/home/git/freeside
Diffstat (limited to 'httemplate/edit/process/elements/process.html')
| -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'} ) %> |
