Removed not needed console.log entries.

This commit is contained in:
Martin Edenhofer 2016-04-06 17:07:11 +02:00
parent 6ea21048cf
commit 36cdf561d9
9 changed files with 3 additions and 19 deletions

View file

@ -406,7 +406,6 @@ class Camera extends App.ControllerModal
onSubmit: =>
# send picture to the callback
console.log @cache.get(0).toDataURL()
window.file = @cache.get(0).toDataURL()
@callback @cache.get(0).toDataURL()
@close()

View file

@ -427,7 +427,6 @@ class ModalForm extends App.ControllerModal
onSubmit: (e) ->
e.preventDefault()
params = App.ControllerForm.params( $(e.target).closest('form') )
console.log('params', params)
App.Config.set( 'layout_ref/modal_form', ModalForm, 'Routes' )
@ -545,7 +544,6 @@ class App.ControllerWizard extends App.ControllerContent
navigate: (e) =>
target = $(e.currentTarget).attr('data-target')
targetSlide = @$("[data-slide=#{ target }]")
console.log(e, target, targetSlide)
if targetSlide
@goToSlide targetSlide
@ -683,13 +681,11 @@ class RichText extends App.ControllerContent
return
@$('.js-textarea').on('keyup', (e) =>
console.log('KU')
textarea = @$('.js-textarea')
App.Utils.htmlCleanup(textarea)
)
@$('.js-textarea').on('paste', (e) =>
console.log('paste')
#console.log('PPP', e, e.originalEvent.clipboardData)
execute = =>

View file

@ -179,7 +179,6 @@ class App.TicketZoom extends App.Controller
statusText = xhr.statusText
status = xhr.status
detail = xhr.responseText
#console.log('error', status, statusText)
# ignore if request is aborted
if statusText is 'abort'
@ -476,7 +475,6 @@ class App.TicketZoom extends App.Controller
params = {}
params.ticket = @formParam(ticketForm)
params.article = @formParam(articleForm)
#console.log('markFormDiff', diff, params)
# clear all changes
if _.isEmpty(diff.ticket) && _.isEmpty(diff.article)

View file

@ -6,7 +6,6 @@ class Widget extends App.Controller
App.Event.bind(
'session:maintenance'
(data) =>
console.log('session:maintenance', data)
@showMessage(data)
'maintenance'
)

View file

@ -25,7 +25,6 @@ class Widget extends App.ControllerWidgetOnDemand
# show switch back widget
@html App.view('widget/switch_back_to_user')()
console.log('@el', @element())
@element().on('click', '.js-close', (e) =>
@switchBack(e)
)

View file

@ -58,7 +58,6 @@ class App.BusinessHours extends Spine.Controller
slot = input.attr('data-slot')
i = input.attr('data-i')
@options.hours[day].timeframes[slot][i] = event.time.hoursAndMinutes
console.log event.time.hoursAndMinutes
@el.toggleClass 'is-invalid', !@validate()

View file

@ -156,7 +156,6 @@ class _taskManagerSingleton extends App.Controller
# in case an init execute arrives later but is aleady executed, ignore it
if params.init && @workers[params.key]
#console.log('IGNORE LATER INIT', params)
return
# if we have init task startups, let the controller know this
@ -179,7 +178,6 @@ class _taskManagerSingleton extends App.Controller
# create new online task if not exists and if not persistent
if !task && !@workers[params.key] && !params.persistent
#console.log 'debug', 'add, create new taskbar in backend'
task = new App.Taskbar
task.load(
key: params.key
@ -238,8 +236,7 @@ class _taskManagerSingleton extends App.Controller
@startController(params)
startController: (params) =>
#console.log 'debug', 'controller start try...', params
@log 'debug', 'controller start try...', params
# create clean params
params_app = _.clone(params.params)
@ -518,7 +515,7 @@ class _taskManagerSingleton extends App.Controller
persistent: true
init: true
)
task_count * 350
task_count * 450
undefined
'task'
)
@ -537,7 +534,7 @@ class _taskManagerSingleton extends App.Controller
persistent: false
init: true
)
task_count * 350
task_count * 450
undefined
'task'
)

View file

@ -636,7 +636,6 @@ class App.Utils
# changes to complex, whole rerender
if _.contains(a, b[position])
console.log('aaa too complex', a, b[position])
return false
# insert new item and try next

View file

@ -208,7 +208,6 @@ class App.Model extends Spine.Model
for attribute in attributes
attributesNew[ attribute.name ] = attribute
#console.log(attributesNew)
attributesNew
validate: (params = {}) ->
@ -313,7 +312,6 @@ class App.Model extends Spine.Model
(items, options) =>
if !_.isArray(items)
items = [items]
console.log('refresh', items, options)
App.Log.debug('Model', "local collection refresh #{@className}", items)
for key, callback of @SUBSCRIPTION_COLLECTION
callback(items, 'refresh')