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

catch plugin JS errors

This commit is contained in:
Andrew Dolgov
2016-08-10 12:23:35 +03:00
parent f6d2787a8e
commit 546b419f52
2 changed files with 10 additions and 5 deletions

View File

@@ -218,10 +218,10 @@ function init() {
try {
//dojo.registerModulePath("fox", "../../js/");
require(['dojo/_base/kernel',
'dojo/ready',
'dojo/parser',
'dojo/_base/loader',
require(["dojo/_base/kernel",
"dojo/ready",
"dojo/parser",
"dojo/_base/loader",
"dijit/ProgressBar",
"dijit/ColorPalette",
"dijit/Dialog",
@@ -254,7 +254,7 @@ function init() {
dojo.require("fox.FeedTree");
dojo.parser.parse();
parser.parse();
if (!genericSanityCheck())
return false;