mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge pull request #360 from DimalChandrasiri/theme-migration
Removing unwanted datatable serverside parameters
This commit is contained in:
commit
ae74c74265
@ -37,7 +37,17 @@ var modalPopupContainer = modalPopup + " .modal-content";
|
|||||||
var modalPopupContent = modalPopup + " .modal-content";
|
var modalPopupContent = modalPopup + " .modal-content";
|
||||||
var body = "body";
|
var body = "body";
|
||||||
var isInit = true;
|
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 modalPopupContainer = modalPopup + " .modal-content";
|
||||||
var modalPopupContent = modalPopup + " .modal-content";
|
var modalPopupContent = modalPopup + " .modal-content";
|
||||||
var body = "body";
|
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.
|
* set popup maximum height function.
|
||||||
|
|||||||
@ -69,6 +69,9 @@ $.fn.datatables_extended_serverside_paging = function (settings , url, dataFilte
|
|||||||
// params.filter = params.search.value;
|
// params.filter = params.search.value;
|
||||||
// }
|
// }
|
||||||
params.url = url;
|
params.url = url;
|
||||||
|
|
||||||
|
//Remove this line to add url parameters which is included by data tables it self
|
||||||
|
delete params.columns;
|
||||||
},
|
},
|
||||||
dataFilter: dataFilter
|
dataFilter: dataFilter
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user