datatables.net-keytable
Advanced tools
Comparing version 2.3.0 to 2.3.1
@@ -1,2 +0,2 @@ | ||
/*! KeyTable 2.3.0 | ||
/*! KeyTable 2.3.1 | ||
* ©2009-2017 SpryMedia Ltd - datatables.net/license | ||
@@ -8,3 +8,3 @@ */ | ||
* @description Spreadsheet like keyboard navigation for DataTables | ||
* @version 2.3.0 | ||
* @version 2.3.1 | ||
* @file dataTables.keyTable.js | ||
@@ -230,2 +230,4 @@ * @author SpryMedia Ltd (www.sprymedia.co.uk) | ||
if ( this.c.editor ) { | ||
var editor = this.c.editor; | ||
// Need to disable KeyTable when the main editor is shown | ||
@@ -563,3 +565,6 @@ editor.on( 'open.keyTableMain', function (e, mode, action) { | ||
var cell = dt.cell( ':eq('+row+')', column, {search: 'applied'} ); | ||
// Get the cell from the current position - ignoring any cells which might | ||
// not have been rendered (therefore can't use `:eq()` selector). | ||
var cells = dt.cells( null, column, {search: 'applied', order: 'applied'} ).flatten(); | ||
var cell = dt.cell( cells[ row ] ); | ||
@@ -745,2 +750,8 @@ if ( lastFocus ) { | ||
// If Scroller is being used, the table can be `position: absolute` and that | ||
// needs to be taken account of in the offset. If no Scroller, this will be 0 | ||
if ( posOff === 'position' ) { | ||
offset.top += parseInt( cell.closest('table').css('top'), 10 ); | ||
} | ||
// Top correction | ||
@@ -986,3 +997,3 @@ if ( offset.top < scrollTop ) { | ||
KeyTable.version = "2.3.0"; | ||
KeyTable.version = "2.3.1"; | ||
@@ -989,0 +1000,0 @@ |
{ | ||
"name": "datatables.net-keytable", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"description": "KeyTable for DataTables ", | ||
@@ -27,3 +27,3 @@ "files": [ | ||
"jquery": ">=1.7", | ||
"datatables.net": ">=1.10.9" | ||
"datatables.net": "^1.10.15" | ||
}, | ||
@@ -30,0 +30,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28386
890
+ Addeddatatables.net@1.13.11(transitive)
- Removeddatatables.net@2.1.8(transitive)
Updateddatatables.net@^1.10.15