]> git.wh0rd.org Git - tt-rss.git/commitdiff
scriptaculous: only load needed modules
authorAndrew Dolgov <fox@madoka.spb.ru>
Wed, 5 Sep 2007 08:02:02 +0000 (09:02 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Wed, 5 Sep 2007 08:02:02 +0000 (09:02 +0100)
prefs.php
tt-rss.php

index 01e7b816dc31dd5c209925ff0137c896d13a9cab..3c0b42e12e0874dede7ad0b6fb54f2d176a64e7f 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -39,7 +39,8 @@
        <link rel="shortcut icon" type="image/png" href="images/favicon.png">
 
        <script type="text/javascript" src="prototype.js"></script>
-       <script type="text/javascript" src="scriptaculous/scriptaculous.js"></script>
+       <script type="text/javascript" src="scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
+
        <script type="text/javascript" src="localized_js.php?<?php echo $dt_add ?>"></script>
 
        <script type="text/javascript" src="functions.js?<?php echo $dt_add ?>"></script>
index 3144c89ff821eeb4941b77561ae31c04fab96fa5..ac75c1f90e9887e6214c6f3124ad410181f67779 100644 (file)
@@ -49,7 +49,7 @@
        <link rel="shortcut icon" type="image/png" href="images/favicon.png">
 
        <script type="text/javascript" src="prototype.js"></script>
-       <script type="text/javascript" src="scriptaculous/scriptaculous.js"></script>
+       <script type="text/javascript" src="scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
        <script type="text/javascript" src="localized_js.php?<?php echo $dt_add ?>"></script>
        <script type="text/javascript" src="tt-rss.js?<?php echo $dt_add ?>"></script>
        <script type="text/javascript" src="functions.js?<?php echo $dt_add ?>"></script>