Skip to content

Commit

Permalink
Item11777: Make FlexFormPlugin aware of the urlparam formtemplate
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.foswiki.org/trunk/FlexFormPlugin@14635 0b4bb1d4-4e5a-0410-9cc4-b2b747904278
  • Loading branch information
OliverKrueger authored and OliverKrueger committed Apr 18, 2012
1 parent 04d3787 commit 92ee724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Foswiki/Plugins/FlexFormPlugin/Core.pm
Expand Up @@ -70,7 +70,7 @@ sub handleRENDERFORDISPLAY {

my $thisTopic = $params->{_DEFAULT} || $params->{topic} || $theTopic;
my $theFields = $params->{field} || $params->{fields};
my $theForm = $params->{form};
my $theForm = $params->{form} || $session->{request}->param('formtemplate') || '';
my $theFormat = $params->{format};
my $theHeader = $params->{header};
my $theFooter = $params->{footer};
Expand Down Expand Up @@ -324,7 +324,7 @@ sub handleRENDERFOREDIT {

my $thisTopic = $params->{_DEFAULT} || $params->{topic} || $theTopic;
my $theFields = $params->{field} || $params->{fields};
my $theForm = $params->{form};
my $theForm = $params->{form} || $session->{request}->param('formtemplate') || '';
my $theValue = $params->{value};
my $theFormat = $params->{format};
my $theHeader = $params->{header};
Expand Down

0 comments on commit 92ee724

Please sign in to comment.