Fix broken sharing page when not the owner of a project

This commit is contained in:
James Allen 2014-03-15 11:56:18 +00:00
parent a99783edc7
commit 14bf20e087

View file

@ -22,7 +22,7 @@ define [
content : $(@templates.userPanel)
lock: true
onShown: () =>
@publishProjectView.refreshPublishStatus()
@publishProjectView?.refreshPublishStatus()
setupPublish = _.once =>
@publishProjectView = new PublishProjectView