журнал (shhh) wrote in changelog,
журнал
shhh
changelog

[ljcom] r12034: LJSUP-12409: Implement style parameter p...

Committer: nnikulochkina
LJSUP-12409: Implement style parameter processing in 'authorize token' request
U   trunk/cgi-bin/LJ/Identity/Facebook.pm
Modified: trunk/cgi-bin/LJ/Identity/Facebook.pm
===================================================================
--- trunk/cgi-bin/LJ/Identity/Facebook.pm	2012-05-30 14:48:04 UTC (rev 12033)
+++ trunk/cgi-bin/LJ/Identity/Facebook.pm	2012-05-30 15:01:56 UTC (rev 12034)
@@ -35,7 +35,7 @@
 
     my $display = $forwhat eq 'external' ? 'popup'
                                          : 'page';
-
+    $display = 'touch' if ($forwhat =~ /^oauth-/) && $opts{mobile};
     my $addr = 'https://graph.facebook.com/oauth/authorize?' .
                'display=' . $display . '&' .
                "client_id=$LJ::FACEBOOK_CONNECT_CLIENT_ID&" .

Tags: ljcom, nikulochkina, nnikulochkina, 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