Skip to content

Commit

Permalink
Add some redirect/proceed magic to make it return you to the EMS afte…
Browse files Browse the repository at this point in the history
…r adding/editing a badge.
  • Loading branch information
perlDreamer committed Sep 30, 2011
1 parent cea9786 commit 4aa668d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/WebGUI/Asset/Sku/EMSBadge.pm
Expand Up @@ -176,6 +176,21 @@ sub getConfiguredTitle {
return $self->getTitle." (".$name.")";
}

#-------------------------------------------------------------------

=head2 getEditForm ()
Extended to support event metadata.
=cut

override getEditForm => sub {
my $self = shift;
my $form = super();
$form->addField('hidden', name => 'proceed', value => 'viewParent',);
return $form;
};


#-------------------------------------------------------------------

Expand Down

0 comments on commit 4aa668d

Please sign in to comment.