зеркало из https://github.com/mozilla/pjs.git
Missing error message
This commit is contained in:
Родитель
2b5505ee0c
Коммит
4915c71b8b
|
@ -117,5 +117,8 @@
|
|||
<li>Try using the pagesize and page URL paramaters to limit your results.</li>
|
||||
<li>Use the XML-RPC Interface.</li>
|
||||
</ol>
|
||||
[% ELSIF error == "missing-plans-list" %]
|
||||
[% title = "No plans selected" %]
|
||||
You did not select any plans to copy this case to.
|
||||
[% END %]
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ elsif ($action eq 'do_clone'){
|
|||
my $count = 0;
|
||||
my $method;
|
||||
if ($cgi->param('copymethod') eq 'copy'){
|
||||
ThowUserError('missing-plans-list') if (!$cgi->param('existing') && !$cgi->param('newplans'));
|
||||
ThrowUserError('missing-plans-list') if (!$cgi->param('existing') && !$cgi->param('newplans'));
|
||||
my @planids;
|
||||
my %planseen;
|
||||
foreach my $p (split('[\s,]+', $cgi->param('newplans'))){
|
||||
|
|
Загрузка…
Ссылка в новой задаче