2
0
mirror of https://github.com/ACSPRI/queXS synced 2024-04-02 12:12:16 +00:00

Merging the Limesurvey 1.91+ branch of queXS in to the trunk

This commit is contained in:
azammitdcarf
2011-09-08 01:58:41 +00:00
parent dfa55a3b9e
commit eaa9578ab8
2312 changed files with 811461 additions and 597534 deletions

View File

@@ -0,0 +1,28 @@
// $Id: listsurvey.js 9648 2011-01-07 13:06:39Z c_schmitz $
$.tablesorter.addParser({
// set a unique id
id: 'mydate',
is: function(s) {
// return false so this parser is not auto detected
return false;
},
format: function(s) {
// format your data for normalization
return $.datepicker.formatDate( '@', $.datepicker.parseDate(userdateformat,s));
},
// set type, either numeric or text
type: 'numeric'
});
$(document).ready(function(){
$(".listsurveys").tablesorter({ widgets: ['zebra'],
sortList: [[2,0]],
headers: {3:{sorter:'mydate'},
7:{sorter:'digit'}, // Full responses
8:{sorter:'digit'}, // Partial Responses
9:{sorter:'digit'} // Total Responses
}
});
$(".listsurveys tr:eq(1) th:eq(2)").css('min-width','200px');
});