mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 02:55:55 +00:00
various dialog-related fixes; stop referring to many dialogs by name; move filter test initial dialog to client side
This commit is contained in:
@@ -248,10 +248,21 @@ const Filters = {
|
||||
|
||||
});
|
||||
},
|
||||
href: "backend.php?op=pref-filters&method=testFilterDlg"
|
||||
content: `
|
||||
<div>
|
||||
<img id='prefFilterLoadingIndicator' src='images/indicator_tiny.gif'>
|
||||
<span id='prefFilterProgressMsg'>Looking for articles...</span>
|
||||
</div>
|
||||
|
||||
<ul class='panel panel-scrollable list list-unstyled' id='prefFilterTestResultList'></ul>
|
||||
|
||||
<footer class='text-center'>
|
||||
<button dojoType='dijit.form.Button' onclick="dijit.byId('filterTestDlg').hide()"><?php echo __('Close this window') ?></button>
|
||||
</footer>
|
||||
`
|
||||
});
|
||||
|
||||
dojo.connect(test_dlg, "onLoad", null, function (/* e */) {
|
||||
dojo.connect(test_dlg, "onShow", null, function (/* e */) {
|
||||
test_dlg.getTestResults(params, 0);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user