Added missing widget registration.

This commit is contained in:
Martin Edenhofer 2013-06-07 17:01:46 +02:00
parent d46739142e
commit db0922e956

View file

@ -1,7 +1,7 @@
class App.MaintananceWidget extends App.Controller class App.MaintananceWidget extends App.Controller
constructor: -> constructor: ->
super super
# bind on event to show message # bind on event to show message
App.Event.bind 'session:maintanance', (data) => App.Event.bind 'session:maintanance', (data) =>
console.log('hannes was here') console.log('hannes was here')
@ -23,3 +23,5 @@ class Message extends App.ControllerModal
backdrop: false, backdrop: false,
keyboard: false, keyboard: false,
) )
App.Config.set( 'maintanance', App.MaintananceWidget, 'Widgets' )