diff --git a/media/js/jquery.dataTables.js b/media/js/jquery.dataTables.js index dbf683f4..b9aa329f 100644 --- a/media/js/jquery.dataTables.js +++ b/media/js/jquery.dataTables.js @@ -6178,7 +6178,7 @@ } /* Ensure the table has an ID - required for accessibility */ - if ( sId === null ) + if ( sId === null || sId === "" ) { sId = "DataTables_Table_"+(DataTable.ext._oExternConfig.iNextUnique++); this.id = sId; diff --git a/media/src/core/core.constructor.js b/media/src/core/core.constructor.js index 2940dab8..10e47e97 100644 --- a/media/src/core/core.constructor.js +++ b/media/src/core/core.constructor.js @@ -50,7 +50,7 @@ for ( i=0, iLen=DataTable.settings.length ; i