31 lines
610 B
JavaScript
Executable File
31 lines
610 B
JavaScript
Executable File
/*
|
|
Template Name: Color Admin - Responsive Admin Dashboard Template build with Twitter Bootstrap 5
|
|
Version: 5.5.1
|
|
Author: Sean Ngu
|
|
Website: http://www.seantheme.com/color-admin/
|
|
*/
|
|
|
|
var handleDataTableRowReorder = function() {
|
|
"use strict";
|
|
|
|
if ($('#data-table-rowreorder').length !== 0) {
|
|
$('#data-table-rowreorder').DataTable({
|
|
responsive: true,
|
|
rowReorder: true
|
|
});
|
|
}
|
|
};
|
|
|
|
var TableManageRowReorder = function () {
|
|
"use strict";
|
|
return {
|
|
//main function
|
|
init: function () {
|
|
handleDataTableRowReorder();
|
|
}
|
|
};
|
|
}();
|
|
|
|
$(document).ready(function() {
|
|
TableManageRowReorder.init();
|
|
}); |