Lines 14-20
$(document).ready(function() {
Link Here
|
14 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
14 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] }, |
15 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] }, |
15 |
{ "sType": "title-string", "aTargets" : [ "title-string" ] }, |
16 |
{ "sType": "string", "aTargets": [ "string-sort" ] } //Target columns that use <br> separators and pull-down menus. |
16 |
{ "sType": "string", "aTargets": [ "string-sort" ] } //Target columns that use <br> separators and pull-down menus. |
17 |
] |
17 |
], |
|
|
18 |
"sPaginationType": "full_numbers" |
18 |
})); |
19 |
})); |
19 |
holdst.fnAddFilters("filter"); |
20 |
holdst.fnAddFilters("filter"); |
20 |
[%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %] |
21 |
[%# add separateData function to cleanse jQuery select lists by breaking apart strings glued with BR tags and then de-duplicating any repeated library codes %] |
Lines 36-42
$(document).ready(function() {
Link Here
|
36 |
[%# add SeparateData function into createSelect function, so that it does the createSelect on clean data %] |
37 |
[%# add SeparateData function into createSelect function, so that it does the createSelect on clean data %] |
37 |
function createSelect( data ) { |
38 |
function createSelect( data ) { |
38 |
data = separateData(data); |
39 |
data = separateData(data); |
39 |
var r='<select style="width:99%"><option value="">None</option>', i, len=data.length; |
40 |
var r='<select style="width:99%"><option value="">' + _('None') + '</option>', i, len=data.length; |
40 |
for ( i=0 ; i<len ; i++ ) { |
41 |
for ( i=0 ; i<len ; i++ ) { |
41 |
r += '<option value="'+data[i]+'">'+data[i]+'</option>'; |
42 |
r += '<option value="'+data[i]+'">'+data[i]+'</option>'; |
42 |
} |
43 |
} |
43 |
- |
|
|