We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 515b64b commit b29248dCopy full SHA for b29248d
1 file changed
DocDB/cgi/AdministerElements.pm
@@ -29,17 +29,15 @@ sub AdministerActions (%) {
29
my $Form = $Params{-form} || "";
30
my $AddTransfer = $Params{-addTransfer} || $FALSE;
31
32
- my %Action = ();
+ # XXX: EGI applied https://github.com/ericvaandering/DocDB/pull/13
33
+ my @Action = ('New', 'Delete', 'Modify');
34
- $Action{Delete} = "Delete";
35
- $Action{New} = "New";
36
- $Action{Modify} = "Modify";
37
if ($AddTransfer) {
38
- $Action{Transfer} = "Transfer";
+ unshift(@Action, "Transfer");
39
}
40
print FormElementTitle(-helplink => "admaction", -helptext => "Action");
41
print $query -> radio_group(-name => "admaction",
42
- -values => \%Action, -default => "-",
+ -values => \@Action, -default => "-",
43
-onclick => "disabler_$Form();");
44
};
45
0 commit comments