Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r23515: LJSV-2547 (Can't change title (header) f...

Committer: ailyin
LJSV-2547 (Can't change title (header) for communities)
U   trunk/htdocs/customize/index.bml
U   trunk/htdocs/customize/options.bml
Modified: trunk/htdocs/customize/index.bml
===================================================================
--- trunk/htdocs/customize/index.bml	2013-01-08 10:09:20 UTC (rev 23514)
+++ trunk/htdocs/customize/index.bml	2013-01-09 07:05:56 UTC (rev 23515)
@@ -19,6 +19,8 @@
     # extra arguments for get requests
     my $getextra = $authas ne $remote->user ? "?authas=$authas" : "";
 
+    LJ::need_var( 'authas' => $u->username );
+
     # if using s1, either prompt the user to switch to s2 or redirect to the s1 customization page
     unless ($u->prop('stylesys') == 2) {
         if ($u->prop('s1_confirmed')) {

Modified: trunk/htdocs/customize/options.bml
===================================================================
--- trunk/htdocs/customize/options.bml	2013-01-08 10:09:20 UTC (rev 23514)
+++ trunk/htdocs/customize/options.bml	2013-01-09 07:05:56 UTC (rev 23515)
@@ -19,6 +19,8 @@
     # extra arguments for get requests
     my $getextra = $authas ne $remote->user ? "?authas=$authas" : "";
 
+    LJ::need_var( 'authas' => $u->username );
+
     # if using s1, either prompt the user to switch to s2 or redirect to the s1 customization page
     unless ($u->prop('stylesys') == 2) {
         if ($u->prop('s1_confirmed')) {

Tags: ailyin, andy, bml, livejournal
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