|
|
|
@ -87,7 +87,7 @@ |
|
|
|
data: "author.userName", |
|
|
|
render: function (data) { |
|
|
|
if (data !== null) { |
|
|
|
return GetFilterableDatatableContent('#Author', data); |
|
|
|
return GetFilterableDatatableContent('#Author', $.fn.dataTable.render.text().display(data)); //prevent against possible XSS
|
|
|
|
} |
|
|
|
return ""; |
|
|
|
} |
|
|
|
@ -99,7 +99,7 @@ |
|
|
|
data: "entityType", |
|
|
|
render: function (data) { |
|
|
|
if (data !== null) { |
|
|
|
return GetFilterableDatatableContent('#EntityType', data); |
|
|
|
return GetFilterableDatatableContent('#EntityType', $.fn.dataTable.render.text().display(data)); |
|
|
|
} |
|
|
|
return ""; |
|
|
|
} |
|
|
|
@ -109,7 +109,7 @@ |
|
|
|
data: "text", |
|
|
|
orderable: false, |
|
|
|
render: function (data) { |
|
|
|
data = data || ""; |
|
|
|
data = $.fn.dataTable.render.text().display(data || ""); |
|
|
|
|
|
|
|
var maxChars = 64; |
|
|
|
|
|
|
|
|