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>
This commit is contained in:
Marcel de Rooy 2016-10-14 11:29:44 +02:00 committed by Brendan Gallagher
parent 17e2e6c994
commit f75afef591
3 changed files with 4 additions and 4 deletions

View File

@ -474,7 +474,7 @@ sub SendAlerts {
};
if (!@$externalid){
carp "No Order seleted";
carp "No Order selected";
return { error => "no_order_selected" };
}

View File

@ -115,8 +115,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;
}

View File

@ -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>