]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix digest broken by prototype update
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 6 Nov 2012 16:02:00 +0000 (20:02 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 6 Nov 2012 16:02:00 +0000 (20:02 +0400)
digest.php
js/digest.js

index 805e074886fbbbe23652d13c607e3a2db51e7366..4ec7042cf3c2be685a7761c8e57948e4602ce925 100644 (file)
 
        <link rel="shortcut icon" type="image/png" href="images/favicon.png"/>
 
+       <script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
        <script type="text/javascript" src="lib/prototype.js"></script>
        <script type="text/javascript" src="lib/scriptaculous/scriptaculous.js?load=effects,dragdrop,controls"></script>
-       <script type="text/javascript" src="lib/dojo/dojo.js" djConfig="parseOnLoad: true"></script>
-       <script type="text/javascript" charset="utf-8" src="localized_js.php?<?php echo $dt_add ?>"></script>
 
+       <script type="text/javascript" charset="utf-8" src="localized_js.php?<?php echo $dt_add ?>"></script>
+       <script type="text/javascript" charset="utf-8" src="errors.php?mode=js"></script>
        <script type="text/javascript" charset="utf-8" src="js/functions.js?<?php echo $dt_add ?>"></script>
        <script type="text/javascript" src="js/digest.js"></script>
 
index 12d45e5360692ecffc1af3eb649fafb197ebb9f8..1a16ad80a4cbea7ff5f080dcdcab5a9d14da631f 100644 (file)
@@ -667,7 +667,7 @@ function init() {
                dojo.require("dijit.Dialog");
 
                new Ajax.Request("backend.php", {
-                       parameters: "?op=rpc&method=sanityCheck",
+                       parameters: {op: "rpc", method: "sanityCheck"},
                        onComplete: function(transport) {
                                backend_sanity_check_callback(transport);
                        } });