 $ = require 'jquery'
-parseLogs = require '../util/parseLogs'
+uploadLogs = require '../util/uploadLogs'
 kd = require 'kd'
 KDModalViewWithForms = kd.ModalViewWithForms
 KDNotificationView = kd.NotificationView

        new KDNotificationView title: "Sorry, could not process your request, please try again."
        submit.hideLoader()
        @ticketRequested = no


  @getTopics = ->

      {submit} = @modalTabs.forms.Main.buttons
      {subject, message} = form

      if @_logUrl?
        message += "\n\n --- LOGS: #{@_logUrl} --- \n"

      request = $.ajax "#{global.location.origin}/-/support/new",
        type        : "POST"
