- Fixed persistant signature "type" select with active table filter, closed #865

This commit is contained in:
Mark Friedrich
2019-11-04 20:12:12 +01:00
parent b2654d9387
commit c32a7478e7
2 changed files with 18 additions and 10 deletions

View File

@@ -1196,12 +1196,16 @@ define([
*/
let activateCell = (cell) => {
let cellElement = cell.nodes().to$();
// NO xEditable
cellElement.focus();
// check if cell is visible and not e.g. immediately filtered out by a search filter
// -> https://github.com/exodus4d/pathfinder/issues/865
if(cellElement.is(':visible')){
// NO xEditable
cellElement.focus();
if( cellElement.data('editable') ){
// cell is xEditable field -> show xEditable form
cellElement.editable('show');
if( cellElement.data('editable') ){
// cell is xEditable field -> show xEditable form
cellElement.editable('show');
}
}
};

View File

@@ -1196,12 +1196,16 @@ define([
*/
let activateCell = (cell) => {
let cellElement = cell.nodes().to$();
// NO xEditable
cellElement.focus();
// check if cell is visible and not e.g. immediately filtered out by a search filter
// -> https://github.com/exodus4d/pathfinder/issues/865
if(cellElement.is(':visible')){
// NO xEditable
cellElement.focus();
if( cellElement.data('editable') ){
// cell is xEditable field -> show xEditable form
cellElement.editable('show');
if( cellElement.data('editable') ){
// cell is xEditable field -> show xEditable form
cellElement.editable('show');
}
}
};