Supress output if no title is given
This should never happen, but….
This commit is contained in:
parent
1ad7bbdd0c
commit
a054cec7c9
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue