holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r11772: LJSUP-11857: Cyr sub domains

Committer: akanashin
LJSUP-11857: Cyr sub domains
U   trunk/htdocs/tools/endpoints/domain_ru.bml
Modified: trunk/htdocs/tools/endpoints/domain_ru.bml
===================================================================
--- trunk/htdocs/tools/endpoints/domain_ru.bml	2012-04-24 11:48:25 UTC (rev 11771)
+++ trunk/htdocs/tools/endpoints/domain_ru.bml	2012-04-24 11:56:32 UTC (rev 11772)
@@ -36,7 +36,6 @@
     if ($action eq 'delete') {
         LJ::Pay::Payment::PayItem::DomainRU->delete_domains($userid, $src_name);
         $ret->{status} = 'ok';
-        $ret->{msg}    = LJ::Lang::ml('domain_ru.bml.deleted');
     }
 
     if ($action eq 'check') {
@@ -54,8 +53,7 @@
             'rcptid'  => $remote->userid,
         );
         my @errs;
-        $ret->{status} = $it->can_belong_to(undef, \@errs, undef, 'additem') ? 'ok' : 'error';
-        $ret->{msg}    = join(';', @errs);
+        $ret->{status} = $it->can_belong_to(undef, \@errs, undef, 'additem') ? 'ok' : $errs[0];
     }
 
     BML::set_content_type('text/javascript; charset=utf-8');

Tags: akanashin, bml, holyandrew, ljcom
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments