mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 13:51:12 +01:00
Add a check to prevent total failure in the rare event of bad settings.
This commit is contained in:
parent
b2f733c4d5
commit
67d2fb66c2
@ -185,6 +185,7 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
|
|||||||
.appendTo(this.tbody);
|
.appendTo(this.tbody);
|
||||||
var cf = jQuery(document.createElement("td"))
|
var cf = jQuery(document.createElement("td"))
|
||||||
.appendTo(row);
|
.appendTo(row);
|
||||||
|
if(!field.type) field.type = 'text";'
|
||||||
var setup_function = '_setup_'+(apps[field.type] ? 'link_entry' : field.type.replace("-","_"));
|
var setup_function = '_setup_'+(apps[field.type] ? 'link_entry' : field.type.replace("-","_"));
|
||||||
|
|
||||||
var attrs = {
|
var attrs = {
|
||||||
|
Loading…
Reference in New Issue
Block a user