wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r22000: LJSUP-12236: Additional branding

Committer: wisest-owl
LJSUP-12236: Additional branding

U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-05-18 13:27:41 UTC (rev 21999)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-05-18 13:46:36 UTC (rev 22000)
@@ -1697,8 +1697,6 @@
             'guid'            => $auth_token,
         };
 
-        $photouploader_params_out = LJ::JSON->to_json($photouploader_params);
-
         $migration_status = $remote ? ($remote->prop ('fotki_migration_status') || 0) : 0;
     } else {
         my @photo_sizes = map { {
@@ -1716,10 +1714,13 @@
             'type'            => 'upload',
             'guid'            => '',
         };
-
-        $photouploader_params_out = LJ::JSON->to_json($photouploader_params);
     }
 
+    $photouploader_params->{'tracking_opendialog'} = LJ::run_hook ("photohosting_page_reskinning", page_type => 'tracking_opendialog_update_bml');
+    $photouploader_params->{'tracking_photouploaded'} = LJ::run_hook ("photohosting_page_reskinning", page_type => 'tracking_photouploaded_update_bml');
+
+    $photouploader_params_out = LJ::JSON->to_json($photouploader_params);
+
     LJ::Widget::Fotki::Upload->render();
 
     $out .= <<JS ;

Tags: livejournal, pm, wisest-owl
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