From: <nat...@us...> - 2012-06-19 21:49:27
|
Author: nathangray Date: Tue Jun 19 23:49:58 2012 New Revision: 39565 URL: http://svn.stylite.de/viewvc/egroupware?rev=39565&view=rev Log: Prevent historylog customfields from overwriting actual custom fields Modified: trunk/etemplate/js/et2_widget_historylog.js Modified: trunk/etemplate/js/et2_widget_historylog.js URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/js/et2_widget_historylog.js?rev=39565&r1=39564&r2=39565&view=diff ============================================================================== --- trunk/etemplate/js/et2_widget_historylog.js (original) +++ trunk/etemplate/js/et2_widget_historylog.js Tue Jun 19 23:49:58 2012 @@ -186,6 +186,8 @@ var labels = {}; var cf_widget = et2_createWidget('customfields', {'readonly':true}, this); 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) { // Add label |