Commit 7c71e1d8 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1778905: Fix alignment of default and delete radio tick boxes"

parents 702e6a32 5635e31d
...@@ -94,7 +94,13 @@ return function (target, source, columns, options) { ...@@ -94,7 +94,13 @@ return function (target, source, columns, options) {
tr.append($('<td>').append(row[column])); tr.append($('<td>').append(row[column]));
} }
else if ( typeof(column) == 'function' ) { else if ( typeof(column) == 'function' ) {
tr.append($('<td>').append(column(row,data))); var columncontent = column(row,data);
if (columncontent.nodeName == 'TD') {
tr.append(columncontent);
}
else {
tr.append($('<td>').append(columncontent));
}
} }
else if ( typeof(column) == 'undefined' ) { else if ( typeof(column) == 'undefined' ) {
return; return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment