1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:35:57 +00:00

move Utils to AppBase where it belongs

This commit is contained in:
Andrew Dolgov
2018-12-02 22:08:18 +03:00
parent ac8361e6f6
commit 5ead558e43
9 changed files with 370 additions and 381 deletions

View File

@@ -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) {