${__('No recent articles matching this filter have been found.')} |
`;
$("prefFilterProgressMsg").innerHTML = "Articles matching this filter:";
} else {
$("prefFilterProgressMsg").innerHTML = __("Found %d articles matching this filter:")
- .replace("%d", test_dlg.results);
+ .replace("%d", dialog.results);
}
}
} else if (!result) {
console.log("getTestResults: can't parse results object");
-
Element.hide("prefFilterLoadingIndicator");
-
Notify.error("Error while trying to get filter test results.");
-
} else {
console.log("getTestResults: dialog closed, bailing out.");
}
} catch (e) {
App.Error.report(e);
}
-
});
},
content: `
@@ -225,11 +217,11 @@ const Filters = {
`
});
- dojo.connect(test_dlg, "onShow", null, function (/* e */) {
- test_dlg.getTestResults(params, 0);
+ dojo.connect(dialog, "onShow", null, function (/* e */) {
+ dialog.getTestResults(params, 0);
});
- test_dlg.show();
+ dialog.show();
},
edit: function(id) { // if no id, new filter dialog
let query;