Fix some minor UI issues on IE11. Fixes #4462

Includes some Jasmine test case fixes from Ganesh.
This commit is contained in:
Murtuza Zabuawala
2019-07-12 10:06:30 +01:00
committed by Dave Page
parent 1df26cb731
commit 20a5899c7d
4 changed files with 33 additions and 9 deletions

View File

@@ -206,6 +206,11 @@ define([
if(cell && cell.$el.hasClass('edit-cell') &&
!cell.$el.hasClass('privileges') || cell.$el.hasClass('delete-cell')) {
model.trigger('backgrid:next', m, n, false);
if(cell.$el.hasClass('delete-cell')) {
setTimeout(function(){
$(cell.$el).trigger('focus');
}, 50);
}
break;
} else if (renderable && editable) {
cell.enterEditMode();

View File

@@ -741,6 +741,17 @@ table tr td {
}
}
/* Specific to IE11 where we want to highlight the focus on grid buttons */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
table tr td {
td.edit-cell:focus,
td.delete-cell:focus,
td.string-cell:focus {
border: 2px solid $input-focus-border-color !important;;
}
}
}
.privilege_label{
font-size: 10px!important;
}