Alexander Nazarov (nfokz) wrote in changelog,
Alexander Nazarov
nfokz
changelog

[livejournal] r22585: LJSUP-13025: ControlStrip Userhead Align...

Committer: anazarov
LJSUP-13025: ControlStrip Userhead Alignment
U   trunk/cgi-bin/LJ/ControlStrip.pm
Modified: trunk/cgi-bin/LJ/ControlStrip.pm
===================================================================
--- trunk/cgi-bin/LJ/ControlStrip.pm	2012-08-07 12:31:26 UTC (rev 22584)
+++ trunk/cgi-bin/LJ/ControlStrip.pm	2012-08-07 12:50:22 UTC (rev 22585)
@@ -217,7 +217,12 @@
                         name  => lc($group{$g}->{name}),
                         value => $group{$g}->{name},
                     };
-                    $item->{selected} = 1 if $item->{name} eq lc($selected_group);
+
+                    if ($item->{name} eq lc($selected_group)) {
+                        $item->{selected} = 1;
+                        $data_remote->{has_selected_groups} = 1;
+                    }
+
                     push @{$data_remote->{friend_groups}}, $item;
                 }
             }

Tags: anazarov, livejournal, nfokz, 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