Skip to content

TagSpaces is an offline, open source, document manager with tagging support

Handle error message in readability mode

kristiyandd7cb7cba3c88e
diff --git a/data/js/ext.api.js b/data/js/ext.api.js
index 48f91965b..acd521982 100644
--- a/data/js/ext.api.js
+++ b/data/js/ext.api.js
@@ -10,8 +10,8 @@ define(function(require, exports, module) {
var command = data.command;
switch (command) {
- case "readabilityError":
- TSCORE.showAlertDialog("This HTML content can't be loaded.");
+ case "showAlertDialog":
+ TSCORE.showAlertDialog("This content can't be loaded.", data.title);
break;
case "saveDocument":
TSCORE.FileOpener.saveFile();