Hide customfield column if there are not custom fields

This commit is contained in:
Nathan Gray 2012-04-04 19:52:28 +00:00
parent df2ba7ddd6
commit d5532c361d

View File

@ -374,7 +374,7 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, {
}
// Resets field visibility too
_row[i].widget._getColumnName();
_colData[i].disabled = negated;
_colData[i].disabled = negated || jQuery.isEmptyObject(_row[i].widget.options.fields);
continue RowLoop;
}
}