Dynamic sorting for theme Sparkle
This commit is contained in:
8
templates/Sparkle/assets/js/main.js
vendored
8
templates/Sparkle/assets/js/main.js
vendored
@@ -20,6 +20,14 @@ $(document).ready(function() {
|
||||
return false;
|
||||
});
|
||||
|
||||
// Enable datatable
|
||||
$('#sortable').dataTable({
|
||||
"bFilter": false,
|
||||
"bInfo": false,
|
||||
"bPaginate": false
|
||||
});
|
||||
$('.nosort').unbind('click');
|
||||
|
||||
// this is necessary for the special setting feature (ref #1010)
|
||||
$.getQueryVariable = function(key) {
|
||||
var urlParams = decodeURI( window.location.search.substring(1) );
|
||||
|
||||
Reference in New Issue
Block a user