datatables.net-colreorder
Advanced tools
Comparing version 1.3.3 to 1.4.0
@@ -1,3 +0,3 @@ | ||
/*! ColReorder 1.3.3 | ||
* ©2010-2015 SpryMedia Ltd - datatables.net/license | ||
/*! ColReorder 1.4.0 | ||
* ©2010-2017 SpryMedia Ltd - datatables.net/license | ||
*/ | ||
@@ -8,7 +8,7 @@ | ||
* @description Provide the ability to reorder columns in a DataTable | ||
* @version 1.3.3 | ||
* @version 1.4.0 | ||
* @file dataTables.colReorder.js | ||
* @author SpryMedia Ltd (www.sprymedia.co.uk) | ||
* @contact www.sprymedia.co.uk/contact | ||
* @copyright Copyright 2010-2014 SpryMedia Ltd. | ||
* @copyright Copyright 2010-2017 SpryMedia Ltd. | ||
* | ||
@@ -893,3 +893,2 @@ * This source file is free software, available under the following license: | ||
.on( 'mousedown.ColReorder', function (e) { | ||
e.preventDefault(); | ||
that._fnMouseDown.call( that, e, nTh ); | ||
@@ -1186,3 +1185,3 @@ } ) | ||
return e[ prop ]; | ||
}, | ||
} | ||
} ); | ||
@@ -1266,3 +1265,3 @@ | ||
*/ | ||
ColReorder.version = "1.3.3"; | ||
ColReorder.version = "1.4.0"; | ||
@@ -1355,4 +1354,11 @@ | ||
$.fn.dataTable.Api.register( 'colReorder.move()', function( from, to, drop, invalidateRows ) { | ||
if (this.context.length) { | ||
this.context[0]._colReorder.s.dt.oInstance.fnColReorder( from, to, drop, invalidateRows ); | ||
} | ||
return this; | ||
} ); | ||
return ColReorder; | ||
})); |
{ | ||
"name": "datatables.net-colreorder", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"description": "ColReorder for DataTables ", | ||
@@ -25,3 +25,3 @@ "files": [ | ||
"jquery": ">=1.7", | ||
"datatables.net": ">=1.10.9" | ||
"datatables.net": "^1.10.15" | ||
}, | ||
@@ -28,0 +28,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
39212
1152
+ Addeddatatables.net@1.13.11(transitive)
- Removeddatatables.net@2.1.8(transitive)
Updateddatatables.net@^1.10.15