Added attribute of relation which can't be done a lookup.
This commit is contained in:
parent
37bdde8272
commit
4400144c41
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ class App.Model extends Spine.Model
|
|||
item = App[ attribute.relation ]._fillUp(item)
|
||||
data[ withoutId ] = item
|
||||
else
|
||||
console.log("ERROR, cant find App.#{ attribute.relation }.find(#{ data[attribute.name] }) for '#{ data.constructor.className }' #{ data.displayName() }")
|
||||
console.log("ERROR, cant find #{ attribute.name } App.#{ attribute.relation }.find(#{ data[attribute.name] }) for '#{ data.constructor.className }' #{ data.displayName() }")
|
||||
data
|
||||
|
||||
@search: (params) ->
|
||||
|
|
Loading…
Reference in a new issue