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

default password warning: fix close button, don't crash if dialog is recreated (on feed tree reload etc)

This commit is contained in:
Andrew Dolgov
2020-01-25 13:02:11 +03:00
parent 0e9e1ad112
commit 776fe4768b
2 changed files with 4 additions and 1 deletions

View File

@@ -199,7 +199,7 @@ class Dlg extends Handler_Protected {
print "<button dojoType='dijit.form.Button' onclick=\"document.location.href = 'prefs.php'\">".
__('Open Preferences')."</button> ";
print "<button dojoType='dijit.form.Button'
onclick=\"return CommonDialogs.closeInfoBox()\">".
onclick=\"return dijit.byId('defaultPasswordDlg').hide();\">".
__('Close this window')."</button>";
print "</footeer>";
}