holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r11864: LJSUP-12037: There is no page refresh af...

Committer: akanashin
LJSUP-12037: There is no page refresh after buying
U   trunk/bin/upgrading/en_LJ.dat
U   trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm
Modified: trunk/bin/upgrading/en_LJ.dat
===================================================================
--- trunk/bin/upgrading/en_LJ.dat	2012-05-02 11:29:10 UTC (rev 11863)
+++ trunk/bin/upgrading/en_LJ.dat	2012-05-02 11:54:06 UTC (rev 11864)
@@ -8536,6 +8536,8 @@
 
 shop.view.domainru.remove=Remove domain
 
+shop.view.domainru.thank_you=Thank you 
+
 shop.view.domainru.title=Domain RF
 
 shop.view.domainru.total=Total:

Modified: trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm	2012-05-02 11:29:10 UTC (rev 11863)
+++ trunk/cgi-bin/LJ/Widget/Shop/View/DomainRU.pm	2012-05-02 11:54:06 UTC (rev 11864)
@@ -53,7 +53,12 @@
     my $delete = LJ::Request->get_param('delete');
     my $auth = LJ::Request->get_param('auth');
     my $dom = LJ::Request->get_param('dom');
+    my $status = LJ::Request->get_param('status');
 
+    if ($status eq 'done') {
+        $self->ml_warning('shop.view.domainru.thank_you');
+    }
+
     my $authas_opts = {
         'authas' => $current ? $current->user : '',
         'label' => ' ',

Tags: akanashin, dat, holyandrew, ljcom, pm
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