diff options
author | Andrew Dolgov <[email protected]> | 2018-12-02 22:08:18 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-02 22:08:18 +0300 |
commit | 5ead558e435dd8d58f6666b445374b0005a60337 (patch) | |
tree | 1756146e928435272554257056c748afbe1de24f /js/Article.js | |
parent | ac8361e6f6e81e25d3c17e14b973af53a9b93885 (diff) |
move Utils to AppBase where it belongs
Diffstat (limited to 'js/Article.js')
-rw-r--r-- | js/Article.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |