Fix missing index

This commit is contained in:
Nathan Gray 2012-04-17 18:33:38 +00:00
parent c59c0fe22f
commit cdbb488a4c

View File

@ -863,7 +863,7 @@ var et2_link_string = et2_valueWidget.extend([et2_IDetachedDOM], {
{
if(!this.options.only_app || this.options.only_app && _value[i].app == this.options.only_app)
{
this._add_link(_value.id ? _value : {id:_value[i], app: _value.to_app});
this._add_link(_value[i].id ? _value[i] : {id:_value[i], app: _value.to_app});
}
}
}