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

[livejournal] r20855: LJSUP-10807: Removed insertViewThumbs() ...

Committer: anazarov
LJSUP-10807: Removed insertViewThumbs() calls
U   trunk/cgi-bin/LJ/Widget/EntryForm.pm
U   trunk/cgi-bin/LJ/Widget/UserpicDisplay.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-12-23 12:47:02 UTC (rev 20854)
+++ trunk/cgi-bin/LJ/Widget/EntryForm.pm	2011-12-23 13:07:06 UTC (rev 20855)
@@ -659,8 +659,6 @@
                 </span>
             </li>
         };
-
-        $$onload .= " insertViewThumbs();" if $self->should_show_userpicselect;
     }
 
     $out .= "</ul></div>";

Modified: trunk/cgi-bin/LJ/Widget/UserpicDisplay.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/UserpicDisplay.pm	2011-12-23 12:47:02 UTC (rev 20854)
+++ trunk/cgi-bin/LJ/Widget/UserpicDisplay.pm	2011-12-23 13:07:06 UTC (rev 20855)
@@ -191,8 +191,6 @@
                        <script type="text/javascript" language="JavaScript">
                        userpic_preview();
                  };
-        $$picform .= "insertViewThumbs()"
-            if (!$LJ::DISABLED{userpicselect} && $u->get_cap('userpicselect'));
         $$picform .= "</script>\n";
 
     } elsif (!$u)  {

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