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:
@@ -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>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user