Merge pull request #360 from DimalChandrasiri/theme-migration

Removing unwanted datatable serverside parameters
4.x.x
Kamidu Sachith Punchihewa 8 years ago committed by GitHub
commit ae74c74265

@ -37,7 +37,17 @@ var modalPopupContainer = modalPopup + " .modal-content";
var modalPopupContent = modalPopup + " .modal-content";
var body = "body";
var isInit = true;
$(".icon .text").res_text(0.2);
/**
*
* Fires the res_text when ever a data table redraw occurs making
* the font icons change the size to respective screen resolution.
*
*/
$(document).on( 'draw.dt', function () {
$(".icon .text").res_text(0.2);
} );
/*

@ -43,7 +43,16 @@ var modalPopup = ".modal";
var modalPopupContainer = modalPopup + " .modal-content";
var modalPopupContent = modalPopup + " .modal-content";
var body = "body";
$(".icon .text").res_text(0.2);
/**
*
* Fires the res_text when ever a data table redraw occurs making
* the font icons change the size to respective screen resolution.
*
*/
$(document).on( 'draw.dt', function () {
$(".icon .text").res_text(0.2);
} );
/*
* set popup maximum height function.

@ -69,6 +69,9 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte
// params.filter = params.search.value;
// }
params.url = url;
//Remove this line to add url parameters which is included by data tables it self
delete params.columns;
},
dataFilter: dataFilter
},

Loading…
Cancel
Save