From 2d2d08fc41dec694ac0895368eff3eb80a173a5b Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 20 Mar 2013 20:45:57 +0400 Subject: [PATCH] digest: remove unused dependencies; optimize load a bit --- plugins/digest/digest.js | 2 -- plugins/digest/digest_body.php | 22 +++++++++++++--------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/plugins/digest/digest.js b/plugins/digest/digest.js index 88410d9e..19784741 100644 --- a/plugins/digest/digest.js +++ b/plugins/digest/digest.js @@ -670,8 +670,6 @@ function init_second_stage() { function init() { try { - dojo.require("dijit.Dialog"); - new Ajax.Request("backend.php", { parameters: {op: "rpc", method: "sanityCheck"}, onComplete: function(transport) { diff --git a/plugins/digest/digest_body.php b/plugins/digest/digest_body.php index c4f51d37..5ffcfd81 100644 --- a/plugins/digest/digest_body.php +++ b/plugins/digest/digest_body.php @@ -7,8 +7,7 @@ Tiny Tiny RSS - - + @@ -16,13 +15,18 @@ - - - + - - - - +