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

remove explainError server-side dlg

This commit is contained in:
Andrew Dolgov
2021-02-12 08:00:25 +03:00
parent 4182018cb7
commit eac7ad5d34
2 changed files with 2 additions and 36 deletions

View File

@@ -433,7 +433,7 @@ const App = {
console.log("RI:", k, "=>", v);
if (k == "daemon_is_running" && v != 1) {
Notify.error("<span onclick=\"App.explainError(1)\">Update daemon is not running.</span>", true);
Notify.error("Update daemon is not running.", true);
return;
}
@@ -446,7 +446,7 @@ const App = {
}
if (k == "daemon_stamp_ok" && v != 1) {
Notify.error("<span onclick=\"App.explainError(3)\">Update daemon is not updating feeds.</span>", true);
Notify.error("Update daemon is not updating feeds.", true);
return;
}
@@ -530,9 +530,6 @@ const App = {
this.initSecondStage();
},
explainError: function(code) {
return this.displayDlg(__("Error explained"), "explainError", code);
},
Error: {
fatal: function (error, params) {
params = params || {};