diff --git a/docs/en_US/release_notes_4_3.rst b/docs/en_US/release_notes_4_3.rst index a2764ea66..b6a9ce5ba 100644 --- a/docs/en_US/release_notes_4_3.rst +++ b/docs/en_US/release_notes_4_3.rst @@ -34,4 +34,5 @@ Bug fixes | `Bug #3970 `_ - Prevent an error when closing the Sort/Filter dialogue with an empty filter string. | `Bug #3974 `_ - Fix alignment of Connection type toggle switch of pgagent. | `Bug #3981 `_ - Fix the query to set bytea_output so that read-only standbys don't consider it a write query. -| `Bug #3985 `_ - Don't embed docs and external sites in iframes, to allow the external sites to set X-FRAME-OPTIONS = DENY for security. \ No newline at end of file +| `Bug #3985 `_ - Don't embed docs and external sites in iframes, to allow the external sites to set X-FRAME-OPTIONS = DENY for security. +| `Bug #4021 `_ - Disable the editor and execute functions whilst queries are executing. \ No newline at end of file diff --git a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js index 75896061c..edac42614 100644 --- a/web/pgadmin/tools/sqleditor/static/js/sqleditor.js +++ b/web/pgadmin/tools/sqleditor/static/js/sqleditor.js @@ -3394,6 +3394,11 @@ define('tools.querytool', [ $('#btn-explain-options-dropdown').prop('disabled', disabled); $('#btn-edit-dropdown').prop('disabled', disabled); $('#btn-load-file').prop('disabled', disabled); + $('#btn-save').prop('disabled', disabled); + $('#btn-file-menu-dropdown').prop('disabled', disabled); + $('#btn-find').prop('disabled', disabled); + $('#btn-find-menu-dropdown').prop('disabled', disabled); + $('#btn-download').prop('disabled', disabled); if (this.is_query_tool) { // Cancel query tool needs opposite behaviour $('#btn-cancel-query').prop('disabled', !disabled);