Set Active query details subnode control as read-only instead of disabled for accessibility.

This commit is contained in:
Nagesh Dhope 2020-03-06 17:59:57 +05:30 committed by Akshay Joshi
parent 43451fd3f0
commit 0ed3cd248b

View File

@ -167,7 +167,7 @@ define('pgadmin.dashboard', [
label: gettext('Backend type'),
type: 'text',
editable: true,
disabled: true,
readonly: true,
group: gettext('Details'),
visible: function() {
return this.version >= 100000;
@ -177,21 +177,21 @@ define('pgadmin.dashboard', [
label: gettext('Query started at'),
type: 'text',
editable: false,
disabled: true,
readonly: true,
group: gettext('Details'),
}, {
id: 'state_change',
label: gettext('Last state changed at'),
type: 'text',
editable: true,
disabled: true,
readonly: true,
group: gettext('Details'),
}, {
id: 'query',
label: gettext('SQL'),
type: 'text',
editable: true,
disabled: true,
readonly: true,
control: Backform.SqlFieldControl,
group: gettext('Details'),
}],