If link is for just 1 id (normal case), then don't use an array for ID

This commit is contained in:
Nathan Gray 2014-03-31 18:20:38 +00:00
parent 9d8304a70e
commit dcf0cf4e95

View File

@ -782,7 +782,7 @@ var et2_link_entry = et2_inputWidget.extend(
_value = { _value = {
app: split.shift(), app: split.shift(),
id: split id: split.length == 1 ? split[0] : split
}; };
} }
else if(_value && this.options.only_app) else if(_value && this.options.only_app)