mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix help links for backup globals and backup server. Fixes #4365
This commit is contained in:
parent
2894c6cd14
commit
bf548dda3f
@ -27,4 +27,6 @@ Bug fixes
|
|||||||
| `Bug #4329 <https://redmine.postgresql.org/issues/4329>`_ - Fix an initialisation error when two functions with parameters are debugged in parallel.
|
| `Bug #4329 <https://redmine.postgresql.org/issues/4329>`_ - Fix an initialisation error when two functions with parameters are debugged in parallel.
|
||||||
| `Bug #4343 <https://redmine.postgresql.org/issues/4343>`_ - Fix issue where property dialog of column should open properly for EPAS v12.
|
| `Bug #4343 <https://redmine.postgresql.org/issues/4343>`_ - Fix issue where property dialog of column should open properly for EPAS v12.
|
||||||
| `Bug #4349 <https://redmine.postgresql.org/issues/4349>`_ - Ensure strings are properly encoded in the Query History.
|
| `Bug #4349 <https://redmine.postgresql.org/issues/4349>`_ - Ensure strings are properly encoded in the Query History.
|
||||||
| `Bug #4350 <https://redmine.postgresql.org/issues/4350>`_ - Ensure we include the CSRF token when uploading files.| `Bug #4357 <https://redmine.postgresql.org/issues/4357>`_ - Fix connection restoration issue when pgAdmin server is restarted and the page is refreshed.
|
| `Bug #4350 <https://redmine.postgresql.org/issues/4350>`_ - Ensure we include the CSRF token when uploading files.
|
||||||
|
| `Bug #4357 <https://redmine.postgresql.org/issues/4357>`_ - Fix connection restoration issue when pgAdmin server is restarted and the page is refreshed.
|
||||||
|
| `Bug #4365 <https://redmine.postgresql.org/issues/4365>`_ - Fix help links for backup globals and backup server.
|
||||||
|
@ -27,6 +27,14 @@ export class BackupDialogWrapper extends DialogWrapper {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setup() {
|
setup() {
|
||||||
|
let get_help_file = function (dialog_type) {
|
||||||
|
if (dialog_type == 'globals') {
|
||||||
|
return 'backup_globals_dialog.html';
|
||||||
|
} else if (dialog_type == 'server') {
|
||||||
|
return 'backup_server_dialog.html';
|
||||||
|
}
|
||||||
|
return 'backup_dialog.html';
|
||||||
|
};
|
||||||
return {
|
return {
|
||||||
buttons: [{
|
buttons: [{
|
||||||
text: '',
|
text: '',
|
||||||
@ -46,7 +54,7 @@ export class BackupDialogWrapper extends DialogWrapper {
|
|||||||
type: 'button',
|
type: 'button',
|
||||||
label: gettext('Backup'),
|
label: gettext('Backup'),
|
||||||
url: url_for('help.static', {
|
url: url_for('help.static', {
|
||||||
'filename': 'backup_dialog.html',
|
'filename': get_help_file(this.typeOfDialog),
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user