1
0
mirror of https://github.com/DataTables/DataTables.git synced 2025-02-19 17:54:14 +01:00

Dev: Update demo css and js for Editor 1.10 integration

This commit is contained in:
Allan Jardine 2014-02-14 16:01:51 +00:00
parent 7f9f954d99
commit 0f49d95f99
3 changed files with 8 additions and 3 deletions

View File

@ -1 +1 @@
19a4f46a4f58fd7d24197f3ab6b550a4fd29dcae
1bd3ec37ec56c8981abf7af3802eab19b5ab980c

View File

@ -282,3 +282,8 @@ div.tabs>div h1 {
margin-top: 1em;
}
div.column_half {
float: left;
width: 49%;
padding-right: 1%;
}

View File

@ -72,7 +72,7 @@ $(document).ready( function () {
// php
var phpTab = $('ul.tabs li').eq(4).css('display', 'none');
$(document).on( 'init.dt', function ( e, settings ) {
$(document).on( 'init.dt.demoSSP', function ( e, settings ) {
if ( settings.oFeatures.bServerSide ) {
if ( $.isFunction( settings.ajax ) ) {
return;
@ -101,7 +101,7 @@ $(document).ready( function () {
}
// Tabs
$('ul.tabs li').click( function () {
$('ul.tabs').on( 'click', 'li', function () {
$('ul.tabs li.active').removeClass('active');
$(this).addClass('active');