Fixed loading assets.

This commit is contained in:
Martin Edenhofer 2013-09-19 23:26:03 +02:00
parent 3fb7b617e0
commit 81fc666cd2

View file

@ -291,11 +291,8 @@ class App.Navigation extends App.Controller
items = data.recent_viewed
# load user collection
App.Collection.load( type: 'User', data: data.users )
# load ticket collection
App.Collection.load( type: 'Ticket', data: data.tickets )
# load collections
App.Event.trigger 'loadAssets', data.assets
# remove old views
NavBarRight = @Config.get( 'NavBarRight' ) || {}