Customfield lists need to create all widgets, so they can be enabled if the column is changed without re-doing the whole thing

This commit is contained in:
Nathan Gray 2014-07-08 03:37:47 +00:00
parent 760dc4b1d3
commit 7a1d2dc0cd

View File

@ -167,7 +167,7 @@ var et2_customfields_list = et2_valueWidget.extend([et2_IDetachedDOM, et2_IInput
for(var field_name in this.options.customfields)
{
// Skip fields if we're filtering
if(!jQuery.isEmptyObject(this.options.fields) && !this.options.fields[field_name]) continue;
if(this._type != 'customfields-list' && !jQuery.isEmptyObject(this.options.fields) && !this.options.fields[field_name]) continue;
var field = this.options.customfields[field_name];