Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r19941: LJSUP-8857: Updating commenting form

Committer: amyshkin
LJSUP-8857: Updating commenting form
U   trunk/cgi-bin/LJ/S2/ReplyPage.pm
U   trunk/cgi-bin/LJ/Talk.pm
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/cgi-bin/LJ/S2/ReplyPage.pm
===================================================================
--- trunk/cgi-bin/LJ/S2/ReplyPage.pm	2011-09-02 06:23:45 UTC (rev 19940)
+++ trunk/cgi-bin/LJ/S2/ReplyPage.pm	2011-09-02 06:44:55 UTC (rev 19941)
@@ -14,12 +14,6 @@
     $opts->{'redir'} = LJ::bad_password_redirect({ 'returl' => 1 }); # Get the URL back
     return 1 if $opts->{'redir'};
 
-    LJ::need_res(qw(
-        js/jquery/jquery.lj.subjecticons.js
-        js/jquery/jquery.lj.commentator.js
-        js/jquery/jquery.lj.quotescreator.js
-    ));
-
     my $p = Page($u, $opts);
     $p->{'_type'} = "ReplyPage";
     $p->{'view'} = "reply";

Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2011-09-02 06:23:45 UTC (rev 19940)
+++ trunk/cgi-bin/LJ/Talk.pm	2011-09-02 06:44:55 UTC (rev 19941)
@@ -1609,6 +1609,7 @@
         js/jquery/jquery.lj.commentator.js
         js/jquery/jquery.lj.quotescreator.js
     ));
+    LJ::need_res( {condition => 'IE'}, 'js/jquery/jquery.ie6multipleclass.min.js');
 }
 
 # Takes a hashref with the following keys / values:

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-09-02 06:23:45 UTC (rev 19940)
+++ trunk/templates/CommentForm/Form.tmpl	2011-09-02 06:44:55 UTC (rev 19941)
@@ -102,8 +102,6 @@
                         </ul>
                     </div>
 
-<script type="text/javascript" src="http://www.ljdev10.livejournal.ru/js/jquery/jquery.lj.subjecticons.js"></script>
-
 					<script type="text/javascript">
 					    jQuery('div.b-subjecticons').subjecticons();
 					</script>
@@ -198,8 +196,6 @@
             </tr>
         </table>
     </form>
-<script type="text/javascript" src="http://www.ljdev10.livejournal.ru/js/jquery/jquery.lj.commentator.js"></script>
-<script type="text/javascript" src="http://www.ljdev10.livejournal.ru/js/jquery/jquery.lj.quotescreator.js"></script>
 
 <script type="text/javascript">
     jQuery('#postform')

Tags: livejournal, pm, tmpl, zilogic
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