mirror of
https://github.com/DataTables/DataTables.git
synced 2024-12-01 13:24:10 +01:00
New - licensing: DataTables is now available under the MIT license
- Full license available here: http://datatables.net/license_mit - Note that this effectively makes the BSD and GPLv2 licenses that DataTables is also available under redundant since the MIT is the most relaxed of these licenses. At some point in the not too distant future, it would make sense to remove these two licenses and have DataTables available under only the MIT license.
This commit is contained in:
parent
65b6e2f901
commit
baa16632ec
20
media/js/jquery.dataTables.js
vendored
20
media/js/jquery.dataTables.js
vendored
@ -6,12 +6,12 @@
|
|||||||
* @author Allan Jardine (www.sprymedia.co.uk)
|
* @author Allan Jardine (www.sprymedia.co.uk)
|
||||||
* @contact www.sprymedia.co.uk/contact
|
* @contact www.sprymedia.co.uk/contact
|
||||||
*
|
*
|
||||||
* @copyright Copyright 2008-2012 Allan Jardine, all rights reserved.
|
* @copyright Copyright 2008-2013 Allan Jardine.
|
||||||
*
|
*
|
||||||
* This source file is free software, under either the GPL v2 license or a
|
* This source file is free software, available under the following licenses:
|
||||||
* BSD style license, available at:
|
* GPL v2 license - http://datatables.net/license_gpl2
|
||||||
* http://datatables.net/license_gpl2
|
* BSD (3 point) license - http://datatables.net/license_bsd
|
||||||
* http://datatables.net/license_bsd
|
* MIT license - http://datatables.net/license_mit
|
||||||
*
|
*
|
||||||
* This source file is distributed in the hope that it will be useful, but
|
* This source file is distributed in the hope that it will be useful, but
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
@ -3827,6 +3827,15 @@
|
|||||||
if ( widthAttr )
|
if ( widthAttr )
|
||||||
{
|
{
|
||||||
oSettings.nTable.style.width = _fnStringToCss( widthAttr );
|
oSettings.nTable.style.width = _fnStringToCss( widthAttr );
|
||||||
|
|
||||||
|
if ( ! oSettings._attachedResizing &&
|
||||||
|
(oSettings.oScroll.sY !== '' || oSettings.oScroll.sX !== '') )
|
||||||
|
{
|
||||||
|
$(window).bind('resize.DT-'+oSettings.sInstance, function () {
|
||||||
|
_fnScrollDraw( oSettings );
|
||||||
|
} );
|
||||||
|
oSettings._attachedResizing = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -5368,6 +5377,7 @@
|
|||||||
|
|
||||||
/* Blitz all DT events */
|
/* Blitz all DT events */
|
||||||
$(oSettings.nTableWrapper).unbind('.DT').find('*').unbind('.DT');
|
$(oSettings.nTableWrapper).unbind('.DT').find('*').unbind('.DT');
|
||||||
|
$(window).unbind('.DT-'+oSettings.sInstance);
|
||||||
|
|
||||||
/* If there is an 'empty' indicator row, remove it */
|
/* If there is an 'empty' indicator row, remove it */
|
||||||
$('tbody>tr>td.'+oSettings.oClasses.sRowEmpty, oSettings.nTable).parent().remove();
|
$('tbody>tr>td.'+oSettings.oClasses.sRowEmpty, oSettings.nTable).parent().remove();
|
||||||
|
@ -6,12 +6,12 @@
|
|||||||
* @author Allan Jardine (www.sprymedia.co.uk)
|
* @author Allan Jardine (www.sprymedia.co.uk)
|
||||||
* @contact www.sprymedia.co.uk/contact
|
* @contact www.sprymedia.co.uk/contact
|
||||||
*
|
*
|
||||||
* @copyright Copyright 2008-2012 Allan Jardine, all rights reserved.
|
* @copyright Copyright 2008-2013 Allan Jardine.
|
||||||
*
|
*
|
||||||
* This source file is free software, under either the GPL v2 license or a
|
* This source file is free software, available under the following licenses:
|
||||||
* BSD style license, available at:
|
* GPL v2 license - http://datatables.net/license_gpl2
|
||||||
* http://datatables.net/license_gpl2
|
* BSD (3 point) license - http://datatables.net/license_bsd
|
||||||
* http://datatables.net/license_bsd
|
* MIT license - http://datatables.net/license_mit
|
||||||
*
|
*
|
||||||
* This source file is distributed in the hope that it will be useful, but
|
* This source file is distributed in the hope that it will be useful, but
|
||||||
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||||
|
Loading…
Reference in New Issue
Block a user