Added missing widget registration.
This commit is contained in:
parent
d46739142e
commit
db0922e956
1 changed files with 3 additions and 1 deletions
|
@ -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' )
|
||||||
|
|
Loading…
Reference in a new issue