mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
1) Messages tab of query tool should be clear on subsequent execution of table/view using View/Edit Data. Fixes #3608
2) Clear drop-down menu should be disabled for View/Edit Data. Fixes #3609
This commit is contained in:
@@ -16,6 +16,8 @@ Bug fixes
|
||||
|
||||
| `Bug #3453 <https://redmine.postgresql.org/issues/3453>`_ - Fixed SQL for foreign table options.
|
||||
| `Bug #3475 <https://redmine.postgresql.org/issues/3475>`_ - Fixed execution time to show Hours part for long running queries in Query Tool.
|
||||
| `Bug #3608 <https://redmine.postgresql.org/issues/3608>`_ - Messages tab of query tool should be clear on subsequent execution of table/view using View/Edit Data.
|
||||
| `Bug #3609 <https://redmine.postgresql.org/issues/3609>`_ - Clear drop-down menu should be disabled for View/Edit Data.
|
||||
| `Bug #3693 <https://redmine.postgresql.org/issues/3693>`_ - Proper error should be thrown when server group is created with existing name.
|
||||
| `Bug #3695 <https://redmine.postgresql.org/issues/3695>`_ - Ensure long string should be wrap in alertify dialogs.
|
||||
| `Bug #3740 <https://redmine.postgresql.org/issues/3740>`_ - Inline edbspl trigger functions should not be visible in Grant Wizard.
|
||||
|
||||
@@ -35,6 +35,7 @@ let queryToolActions = {
|
||||
this._clearMessageTab();
|
||||
sqlEditorController.execute();
|
||||
} else {
|
||||
this._clearMessageTab();
|
||||
sqlEditorController.execute_data_query();
|
||||
}
|
||||
},
|
||||
|
||||
@@ -104,7 +104,6 @@ define('tools.querytool', [
|
||||
'click #btn-flash-menu': 'on_flash',
|
||||
'click #btn-cancel-query': 'on_cancel_query',
|
||||
'click #btn-download': 'on_download',
|
||||
'click #btn-edit': 'on_clear',
|
||||
'click #btn-clear': 'on_clear',
|
||||
'click #btn-auto-commit': 'on_auto_commit',
|
||||
'click #btn-auto-rollback': 'on_auto_rollback',
|
||||
@@ -3433,13 +3432,12 @@ define('tools.querytool', [
|
||||
|
||||
// This function is used to enable/disable buttons
|
||||
disable_tool_buttons: function(disabled) {
|
||||
$('#btn-clear').prop('disabled', disabled);
|
||||
$('#btn-clear-dropdown').prop('disabled', disabled);
|
||||
$('#btn-query-dropdown').prop('disabled', disabled);
|
||||
$('#btn-explain').prop('disabled', disabled);
|
||||
$('#btn-explain-analyze').prop('disabled', disabled);
|
||||
$('#btn-explain-options-dropdown').prop('disabled', disabled);
|
||||
$('#btn-edit-dropdown').prop('disabled', disabled);
|
||||
$('#btn-edit').prop('disabled', disabled);
|
||||
$('#btn-load-file').prop('disabled', disabled);
|
||||
if (this.is_query_tool) {
|
||||
// Cancel query tool needs opposite behaviour
|
||||
|
||||
Reference in New Issue
Block a user