Bug 17446: Typo seleted
Built on top of bug 17441
Test plan:
Just have a look at the changes. Trivial.
Git grep seleted. No results.
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit f75afef591)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
18a472e627
commit
28eb0a880e
|
|
@ -473,7 +473,7 @@ sub SendAlerts {
|
|||
};
|
||||
|
||||
if (!@$externalid){
|
||||
carp "No Order seleted";
|
||||
carp "No Order selected";
|
||||
return { error => "no_order_selected" };
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -116,8 +116,8 @@ if ($op and $op eq "send_alert"){
|
|||
$template->param(error_claim => $@);
|
||||
} elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_email" ) {
|
||||
$template->{VARS}->{'error_claim'} = "no_email";
|
||||
} elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_seleted"){
|
||||
$template->{VARS}->{'error_claim'} = "no_order_seleted";
|
||||
} elsif ( ref $err and exists $err->{error} and $err->{error} eq "no_order_selected"){
|
||||
$template->{VARS}->{'error_claim'} = "no_order_selected";
|
||||
} else {
|
||||
$template->{VARS}->{'info_claim'} = 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ $(document).ready(function() {
|
|||
[% IF error_claim %]
|
||||
[% IF ( error_claim == "no_email" ) %]
|
||||
<div class="error">This vendor has no email</div>
|
||||
[% ELSIF ( error_claim == "no_order_seleted" ) %]
|
||||
[% ELSIF ( error_claim == "no_order_selected" ) %]
|
||||
<div class="error">No order selected</div>
|
||||
[% ELSE %]
|
||||
<div class="error">[% error_claim %]</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue