mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-27 00:54:15 +01:00
Fix: IE submits a form on keypress for sort
- See thread 16841
This commit is contained in:
parent
f63d04583c
commit
a23f09ae2d
@ -1 +1 @@
|
||||
8544842d7637d7da707b5674f4113eec345081f3
|
||||
aaa08313f1d55c268ec52d7e303ceb882b06112d
|
||||
|
2
media/js/jquery.dataTables.js
vendored
2
media/js/jquery.dataTables.js
vendored
@ -4580,6 +4580,8 @@
|
||||
var col = settings.aoColumns[ colIdx ];
|
||||
|
||||
_fnBindAction( attachTo, {}, function (e) {
|
||||
e.preventDefault();
|
||||
|
||||
/* If the column is not sortable - don't to anything */
|
||||
if ( col.bSortable === false ) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user