     popoverWidth: 411
     popoverHeight: 200
 
+
     events:
         'keyup input': 'onKeyUp'
         'change select': 'onKeyUp'
         'change input': 'onKeyUp'
+
         'click .add'  : 'onAddClicked'
         'click .advanced-link'  : 'onAdvancedClicked'
+
         'click .remove': 'onRemoveClicked'
-        'click #toggle-type': 'onTabClicked'
         'click .close' : 'selfclose'
+
         'changeTime.timepicker #input-start': 'onSetStart'
         'changeTime.timepicker #input-end': 'onSetEnd'
-        'input #input-diff': 'onSetDiff'
+
         'input #input-desc': 'onSetDesc'
         'input #input-place': (ev) -> @model.set 'place', ev.target.value
+
 
     initialize: (options) ->
         if not @model

        if not @model.isAllDay()
            inputEnd = @$('#input-end')
            inputStart = @$('#input-start')
            inputDiff = @$('#input-diff')
            inputStart.on 'timepicker.next', -> inputEnd.focus()
            inputEnd.on 'timepicker.next', -> inputDiff.focus()
            inputEnd.on 'timepicker.prev', ->
                inputStart.focus().timepicker 'highlightMinute'

            inputDiff.on 'keydown', (ev) ->
                if ev.keyCode is 37 # left
                    inputEnd.focus().timepicker 'highlightMinute'
                if ev.keyCode is 39 # right
                    @$('#input-desc').focus()

        @calendar = new ComboBox
            el: @$ '#calendarcombo'

PopoverView = require '../lib/popover_view'
EventModal  = require 'views/event_modal'
ComboBox    = require 'views/widgets/combobox'
Event       = require 'models/event'


module.exports = class EventPopOver extends PopoverView

