forked from extern/egroupware
Prevent historylog customfields from overwriting actual custom fields
This commit is contained in:
parent
41f663407c
commit
82d06cadbe
@ -186,6 +186,8 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],{
|
|||||||
var labels = {};
|
var labels = {};
|
||||||
var cf_widget = et2_createWidget('customfields', {'readonly':true}, this);
|
var cf_widget = et2_createWidget('customfields', {'readonly':true}, this);
|
||||||
cf_widget.loadFields();
|
cf_widget.loadFields();
|
||||||
|
// Override this or it may damage the real values
|
||||||
|
cf_widget.getValue = function() {return null;};
|
||||||
for(var key in cf_widget.widgets)
|
for(var key in cf_widget.widgets)
|
||||||
{
|
{
|
||||||
// Add label
|
// Add label
|
||||||
|
Loading…
Reference in New Issue
Block a user