[Bps-public-commit] r19187 - in RT-FormTools: .
sartak at bestpractical.com
sartak at bestpractical.com
Mon Apr 13 19:19:58 EDT 2009
Author: sartak
Date: Mon Apr 13 19:19:58 2009
New Revision: 19187
Modified:
RT-FormTools/ (props changed)
RT-FormTools/html/FormTools/Form
Log:
r82090 at onn: sartak | 2009-04-13 19:19:52 -0400
Add a forbid_persisting hash
Modified: RT-FormTools/html/FormTools/Form
==============================================================================
--- RT-FormTools/html/FormTools/Form (original)
+++ RT-FormTools/html/FormTools/Form Mon Apr 13 19:19:58 2009
@@ -5,6 +5,7 @@
$include_page_layout => 1
$ShowBar => 1
$validation => 0
+$forbid_persisting => {}
</%args>
<%init>
use RT::Extension::FormTools;
@@ -95,7 +96,7 @@
% foreach my $key (keys %request_args) {
% next if (ref $request_args{$key} && ref $request_args{$key} ne 'ARRAY');
% foreach my $val ( ref ($request_args{$key}) ? @{$request_args{$key}} : ($request_args{$key})) {
-
+% next if $forbid_persisting{$key};
<input type="hidden" name="<%$key%>" value="<%$val%>" />
% }
% }
More information about the Bps-public-commit
mailing list