mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Fix js TypeError for missing widget for 'user_agent_action'
This commit is contained in:
parent
0abec539c3
commit
b39f4e0aef
@ -474,8 +474,8 @@ var et2_historylog = (function(){ "use strict"; return et2_valueWidget.extend([e
|
|||||||
value = _data['share_email'];
|
value = _data['share_email'];
|
||||||
}
|
}
|
||||||
// Get widget from list, unless it needs a diff widget
|
// Get widget from list, unless it needs a diff widget
|
||||||
if(typeof widget == 'undefined' && typeof self.fields[_data.status] != 'undefined' && i < self.NEW_VALUE ||
|
if(typeof widget == 'undefined' && typeof self.fields[_data.status] != 'undefined' && (i < self.NEW_VALUE ||
|
||||||
i >= self.NEW_VALUE &&!self._needsDiffWidget(_data['status'], _data[self.columns[self.OLD_VALUE].id]))
|
i >= self.NEW_VALUE &&!self._needsDiffWidget(_data['status'], _data[self.columns[self.OLD_VALUE].id])))
|
||||||
{
|
{
|
||||||
widget = self.fields[_data.status].widget;
|
widget = self.fields[_data.status].widget;
|
||||||
if(!widget._children.length)
|
if(!widget._children.length)
|
||||||
|
Loading…
Reference in New Issue
Block a user