Vlad Kurkin (b_vladi) wrote in changelog,
Vlad Kurkin
b_vladi
changelog

[livejournal] r21066: LJSUP-11084: Basic account cannot Add to...

Committer: vkurkin
LJSUP-11084: Basic account cannot Add to Entry
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-02-01 12:50:37 UTC (rev 21065)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2012-02-01 13:22:20 UTC (rev 21066)
@@ -1625,7 +1625,7 @@
 
     LJ::Widget::Fotki::Upload->render();
  
-    $out .= $ljphoto_enabled ? <<JS : "";
+    $out .= <<JS ;
 <script type="text/javascript">
     window.ljphotoEnabled = $ljphoto_enabled;
     jQuery('#updateForm').photouploader({
@@ -1639,7 +1639,7 @@
     });
 </script>
 JS
- 
+
     if (@$insert_photos) {
         my $insert_photos_json = LJ::JSON->to_json ( $insert_photos );
         $out .= <<JS;
@@ -1835,7 +1835,7 @@
 
     ## Show a new photoalbums interface only for logged-in users
     $out .= $self->render_ljphoto_block
-        if $remote && $remote->can_upload_photo();
+        if $remote && $remote->can_use_ljphoto();
 
     $out .= "</div><!-- end #entry-form-wrapper -->\n\n";
 

Tags: b_vladi, livejournal, pm, vkurkin
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