1) Fix accessibility issue for checkbox in IE11. Fixes #4490

2) Fix adjacent switch cell focus issue in backgrid for IE.
pull/25/head
Ganesh Jaybhay 2019-07-25 17:23:56 +05:30 committed by Akshay Joshi
parent 8cfe39e837
commit 136bb412a1
4 changed files with 31 additions and 6 deletions

View File

@ -11,6 +11,7 @@ notes for it.
.. toctree::
:maxdepth: 1
release_notes_4_12
release_notes_4_11
release_notes_4_10
release_notes_4_9

View File

@ -0,0 +1,20 @@
************
Version 4.12
************
Release date: 2019-08-22
This release contains a number of bug fixes and new features since the release of pgAdmin4 4.11.
New features
************
Housekeeping
************
Bug fixes
*********
| `Issue #4490 <https://redmine.postgresql.org/issues/4490>`_ - Fix accessibility issue for checkbox in IE11.

View File

@ -690,7 +690,7 @@ define([
this.$el.append(
$('<input>', {
tabIndex: -1,
tabIndex: 0,
type: 'checkbox',
}).prop('checked', rawValue).prop('disabled', !editable).attr('data-toggle', 'toggle')
.attr('data-size', options.size).attr('data-on', options.onText).attr('data-off', options.offText)
@ -726,13 +726,17 @@ define([
} else if (gotoCell.hasClass('editable')) {
e.preventDefault();
e.stopPropagation();
self.model.trigger('backgrid:edited', self.model,
self.column, command);
setTimeout(function() {
self.model.trigger('backgrid:edited', self.model,
self.column, command);
}, 10);
gotoCell.trigger('focus');
} else {
// When we have Non-Editable Cell
self.model.trigger('backgrid:edited', self.model,
self.column, command);
setTimeout(function() {
self.model.trigger('backgrid:edited', self.model,
self.column, command);
}, 10);
}
}, 20);
}

View File

@ -650,7 +650,7 @@ a:focus {
&.navbar-brand, &.dropdown-item {
outline: none !important;
}
outline: $input-focus-border-color auto 5px !important;
outline: 2px solid $input-focus-border-color !important;
}
div.rolmembership {