Supress output if no title is given

This should never happen, but….
This commit is contained in:
snipe 2017-10-05 22:51:33 -07:00
parent 1ad7bbdd0c
commit a054cec7c9

View file

@ -311,6 +311,11 @@ $('.snipe-table').bootstrapTable({
// for custom fields in a more useful way.
function customFieldsFormatter(value, row) {
if ((!this) || (!this.title)) {
return '';
}
var field_column = this.title;
// Pull out any HTMl that might be passed via the presenter