From 5ead558e435dd8d58f6666b445374b0005a60337 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 2 Dec 2018 22:08:18 +0300 Subject: move Utils to AppBase where it belongs --- js/Article.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js/Article.js') diff --git a/js/Article.js b/js/Article.js index b48d82489..1a60f8740 100644 --- a/js/Article.js +++ b/js/Article.js @@ -97,7 +97,7 @@ define(["dojo/_base/declare"], function (declare) { Article.setActive(id); }, render: function (article) { - Utils.cleanupMemory("content-insert"); + App.cleanupMemory("content-insert"); dijit.byId("headlines-wrap-inner").addChild( dijit.byId("content-insert")); @@ -144,7 +144,7 @@ define(["dojo/_base/declare"], function (declare) { xhrPost("backend.php", {op: "article", method: "view", id: id, cids: cids.toString()}, (transport) => { try { - const reply = Utils.handleRpcJson(transport); + const reply = App.handleRpcJson(transport); if (reply) { -- cgit v1.2.3