mirror of
https://github.com/DataTables/DataTables.git
synced 2025-02-27 00:54:15 +01:00
Fixed: Table could expand on each draw, incorrectly, due to a rather convoluted mixture of the table width being 100% and the outer header not having a width set (so when the table was cloned into the header, it would expand to take up the width of the inner header element, which was the outer + the scrollbar width).
Change: Move version to 1.7.4.dev
This commit is contained in:
parent
e494695c03
commit
1b2a6ff5b1
10
media/js/jquery.dataTables.js
vendored
10
media/js/jquery.dataTables.js
vendored
@ -1,6 +1,6 @@
|
||||
/*
|
||||
* File: jquery.dataTables.js
|
||||
* Version: 1.7.3
|
||||
* Version: 1.7.4 dev
|
||||
* Description: Paginate, search and sort HTML tables
|
||||
* Author: Allan Jardine (www.sprymedia.co.uk)
|
||||
* Created: 28/3/2008
|
||||
@ -68,7 +68,7 @@
|
||||
* Notes: Allowed format is a.b.c.d.e where:
|
||||
* a:int, b:int, c:int, d:string(dev|beta), e:int. d and e are optional
|
||||
*/
|
||||
_oExt.sVersion = "1.7.3";
|
||||
_oExt.sVersion = "1.7.4.dev";
|
||||
|
||||
/*
|
||||
* Variable: sErrMode
|
||||
@ -3799,8 +3799,10 @@
|
||||
}
|
||||
|
||||
/* Finally set the width's of the header and footer tables */
|
||||
nScrollHeadTable.style.width = _fnStringToCss( $(o.nTable).outerWidth() );
|
||||
nScrollHeadInner.style.width = _fnStringToCss( $(o.nTable).outerWidth()+o.oScroll.iBarWidth );
|
||||
var iOuterWidth = $(o.nTable).outerWidth();
|
||||
nScrollHeadTable.style.width = _fnStringToCss( iOuterWidth );
|
||||
nScrollHeadInner.style.width = _fnStringToCss( iOuterWidth+o.oScroll.iBarWidth );
|
||||
nScrollHeadInner.parentNode.style.width = _fnStringToCss( iOuterWidth );
|
||||
|
||||
if ( o.nTFoot !== null )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user