diff --git a/docs/en_US/release_notes_5_0.rst b/docs/en_US/release_notes_5_0.rst index 8e885f69a..411550923 100644 --- a/docs/en_US/release_notes_5_0.rst +++ b/docs/en_US/release_notes_5_0.rst @@ -32,6 +32,7 @@ Bug fixes | `Issue #6163 `_ - Fixed an issue where Zoom to fit button only works if the diagram is larger than the canvas. | `Issue #6164 `_ - Ensure that the diagram should not vanish entirely if zooming out too far in ERD. | `Issue #6177 `_ - Fixed an issue while downloading ERD images in Safari and Firefox. +| `Issue #6178 `_ - Fixed an issue where the user unable to change the background color for a server. | `Issue #6179 `_ - Fixed an issue where Generate SQL displayed twice in the ERD tool. | `Issue #6180 `_ - Updated missing documentation for the 'Download Image' option in ERD. | `Issue #6187 `_ - Limit the upgrade check to run once per day. diff --git a/web/pgadmin/static/js/backform.pgadmin.js b/web/pgadmin/static/js/backform.pgadmin.js index 59d24ac59..85c703e22 100644 --- a/web/pgadmin/static/js/backform.pgadmin.js +++ b/web/pgadmin/static/js/backform.pgadmin.js @@ -3207,12 +3207,12 @@ define([ }); }).on('clear', (instance) => { this.applyColor(name, instance, null); - }).on('change', (color, instance) => { + }).on('change', (color, source, instance) => { this.applyColor(name, instance, color); }).on('show', (color, instance) => { const {palette} = instance.getRoot().palette; palette.focus(); - }).on('hide', (color, instance) => { + }).on('hide', (instance) => { const button = instance.getRoot().button; button.focus(); });