1
0
mirror of https://github.com/DataTables/DataTables.git synced 2024-11-29 11:24:10 +01:00

Override the default sDom when using jQuery UI

This commit is contained in:
Allan Jardine 2011-12-11 08:51:03 +00:00
parent a41a68d91d
commit 9a94759fa4
2 changed files with 2 additions and 2 deletions

View File

@ -6139,7 +6139,7 @@
*/
oSettings.oClasses = DataTable.ext.oJUIClasses;
if ( typeof oInit.sDom == 'undefined' )
if ( oInit.sDom == 'lfrtip' )
{
/* Set the DOM to use a layout suitable for jQuery UI's theming */
oSettings.sDom = '<"H"lfr>t<"F"ip>';

View File

@ -190,7 +190,7 @@ if ( oInit.bJQueryUI )
*/
oSettings.oClasses = DataTable.ext.oJUIClasses;
if ( typeof oInit.sDom == 'undefined' )
if ( oInit.sDom == 'lfrtip' )
{
/* Set the DOM to use a layout suitable for jQuery UI's theming */
oSettings.sDom = '<"H"lfr>t<"F"ip>';