Improve error handling (if object is not already on client).
This commit is contained in:
parent
3111327b38
commit
ab82b853fc
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ class App.Controller extends Spine.Controller
|
||||||
item.object = item.object.replace("::", '')
|
item.object = item.object.replace("::", '')
|
||||||
|
|
||||||
# lookup real data
|
# lookup real data
|
||||||
if App[item.object]
|
if App[item.object] && App[item.object].exists( item.o_id )
|
||||||
object = App[item.object].find( item.o_id )
|
object = App[item.object].find( item.o_id )
|
||||||
item.link = object.uiUrl()
|
item.link = object.uiUrl()
|
||||||
item.title = object.displayName()
|
item.title = object.displayName()
|
||||||
|
|
Loading…
Reference in a new issue