1
0
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:
Allan Jardine 2014-04-28 16:56:39 +01:00
parent f63d04583c
commit a23f09ae2d
2 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
8544842d7637d7da707b5674f4113eec345081f3
aaa08313f1d55c268ec52d7e303ceb882b06112d

View File

@ -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;