fix(SFDC): fix bug where opening new file would cause attachments to fail

This commit is contained in:
Evan Morikawa 2016-12-08 11:11:01 -08:00
parent 4e40c0c55d
commit 19560f1e99

View file

@ -585,8 +585,8 @@ Utils =
for commaPath in commaPaths for commaPath in commaPaths
joinedVals = [] joinedVals = []
paths = commaPath.split("+") paths = commaPath.split("+")
for path in paths for filePath in paths
parts = path.split(".") parts = filePath.split(".")
curVal = model curVal = model
for part in parts for part in parts
if _.isFunction(curVal[part]) if _.isFunction(curVal[part])