From c7402c3898aa42473ee746adb69f1f2f4ef09d6b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov <fox@madoka.volgo-balt.ru> Date: Tue, 6 Nov 2012 20:02:00 +0400 Subject: [PATCH] fix digest broken by prototype update --- digest.php | 5 +++-- js/digest.js | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/digest.php b/digest.php index 805e07488..4ec7042cf 100644 --- a/digest.php +++ b/digest.php @@ -36,11 +36,12 @@ <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> diff --git a/js/digest.js b/js/digest.js index 12d45e536..1a16ad80a 100644 --- a/js/digest.js +++ b/js/digest.js @@ -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); } }); -- GitLab