 $('#chatMessage').on 'keyup', (event) ->
     if event.keyCode is 73 and event.ctrlKey is true  # Ctrl + i
         $('#chatMessage').val lastMessage
-    else if event.keyCode isnt 13
-        message = {}
-        message.text = _.escape($.trim($('#chatMessage').val()))
-        message.status = 'temp'
-        message.chatroom = $('#chatRoomSelected').val()
-        message.username = $('#userName').val()
-
-        stompClient.send "/app/tempMessage", {}, JSON.stringify(message)
     else if event.keyCode is 13 and $.trim($('#chatMessage').val()) isnt ''
         message = {}
         message.text = _.escape($.trim($('#chatMessage').val()))

stompClient = {}
lastUser = {}
lastMessage = ''

$('#temporaryInput').on 'click', (event) ->
    $('#chatMessage').popover('toggle')

          </table>"""

        $('#connectedUsersTable').html tableDef

        users = _.map msg.userList, (user) -> user.username
        tempMessages = _.pick tempMessages, users
    else if msg.status is 'closeTime'
        selectedDate = $('#datetimepickerInline').data('DateTimePicker').date().format('YYYY-MM-DD')
        $('#area00').append """
