mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Set Active query details subnode control as read-only instead of disabled for accessibility.
This commit is contained in:
parent
43451fd3f0
commit
0ed3cd248b
@ -167,7 +167,7 @@ define('pgadmin.dashboard', [
|
|||||||
label: gettext('Backend type'),
|
label: gettext('Backend type'),
|
||||||
type: 'text',
|
type: 'text',
|
||||||
editable: true,
|
editable: true,
|
||||||
disabled: true,
|
readonly: true,
|
||||||
group: gettext('Details'),
|
group: gettext('Details'),
|
||||||
visible: function() {
|
visible: function() {
|
||||||
return this.version >= 100000;
|
return this.version >= 100000;
|
||||||
@ -177,21 +177,21 @@ define('pgadmin.dashboard', [
|
|||||||
label: gettext('Query started at'),
|
label: gettext('Query started at'),
|
||||||
type: 'text',
|
type: 'text',
|
||||||
editable: false,
|
editable: false,
|
||||||
disabled: true,
|
readonly: true,
|
||||||
group: gettext('Details'),
|
group: gettext('Details'),
|
||||||
}, {
|
}, {
|
||||||
id: 'state_change',
|
id: 'state_change',
|
||||||
label: gettext('Last state changed at'),
|
label: gettext('Last state changed at'),
|
||||||
type: 'text',
|
type: 'text',
|
||||||
editable: true,
|
editable: true,
|
||||||
disabled: true,
|
readonly: true,
|
||||||
group: gettext('Details'),
|
group: gettext('Details'),
|
||||||
}, {
|
}, {
|
||||||
id: 'query',
|
id: 'query',
|
||||||
label: gettext('SQL'),
|
label: gettext('SQL'),
|
||||||
type: 'text',
|
type: 'text',
|
||||||
editable: true,
|
editable: true,
|
||||||
disabled: true,
|
readonly: true,
|
||||||
control: Backform.SqlFieldControl,
|
control: Backform.SqlFieldControl,
|
||||||
group: gettext('Details'),
|
group: gettext('Details'),
|
||||||
}],
|
}],
|
||||||
|
Loading…
Reference in New Issue
Block a user