Just remove registration to disable it.

This commit is contained in:
Martin Edenhofer 2015-11-12 10:36:05 +01:00
parent c2aea9ecc6
commit 8838c8e6f6

View file

@ -1892,26 +1892,25 @@ class App.CustomerChatRef extends App.Controller
else else
@nextQuestion() @nextQuestion()
# class CustomerChatRouter extends App.ControllerPermanent class CustomerChatRouter extends App.ControllerPermanent
# constructor: (params) -> constructor: (params) ->
# super super
# # check authentication # check authentication
# return if !@authenticate() return if !@authenticate()
# App.TaskManager.execute( App.TaskManager.execute(
# key: 'CustomerChatRef' key: 'CustomerChatRef'
# controller: 'CustomerChatRef' controller: 'CustomerChatRef'
# params: {} params: {}
# show: true show: true
# persistent: true persistent: true
# ) )
#App.Config.set( 'layout_ref/customer_chat', CustomerChatRouter, 'Routes' ) #App.Config.set( 'layout_ref/customer_chat', CustomerChatRouter, 'Routes' )
#App.Config.set( 'CustomerChatRef', { controller: 'CustomerChatRef', authentication: true }, 'permanentTask' ) #App.Config.set( 'CustomerChatRef', { controller: 'CustomerChatRef', authentication: true }, 'permanentTask' )
#App.Config.set( 'CustomerChatRef', { prio: 1200, parent: '', name: 'Customer Chat', target: '#layout_ref/customer_chat', key: 'CustomerChatRef', role: ['Agent'], class: 'chat' }, 'NavBar' ) #App.Config.set( 'CustomerChatRef', { prio: 1200, parent: '', name: 'Customer Chat', target: '#layout_ref/customer_chat', key: 'CustomerChatRef', role: ['Agent'], class: 'chat' }, 'NavBar' )
class chatWindowRef extends Spine.Controller class chatWindowRef extends Spine.Controller
@extend Spine.Events @extend Spine.Events