mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-02 20:19:27 +01:00
Automatically disable custom field column if there are no custom fields
This commit is contained in:
parent
d401f141a9
commit
4f2f64fcbe
@ -760,6 +760,12 @@ var et2_nextmatch = et2_DOMWidget.extend([et2_IResizeable, et2_IInput],
|
|||||||
continue RowLoop;
|
continue RowLoop;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
// Disable if there are no custom fields
|
||||||
|
if(jQuery.isEmptyObject(_row[i].widget.customfields))
|
||||||
|
{
|
||||||
|
_colData[i].disabled = true;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var colName = this._getColumnName(_row[i].widget);
|
var colName = this._getColumnName(_row[i].widget);
|
||||||
|
Loading…
Reference in New Issue
Block a user