Skip to content
Permalink
Browse files

Add some redirect/proceed magic to make it return you to the EMS afte…

…r adding/editing a badge.
  • Loading branch information...
perlDreamer committed Sep 30, 2011
1 parent cea9786 commit 4aa668df33e5b5b9bc6ffd251662edc80e0f5aed
Showing with 15 additions and 0 deletions.
  1. +15 −0 lib/WebGUI/Asset/Sku/EMSBadge.pm
@@ -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;
};


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

0 comments on commit 4aa668d

Please sign in to comment.
You can’t perform that action at this time.