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: => onSubmit: =>
# send picture to the callback # send picture to the callback
console.log @cache.get(0).toDataURL()
window.file = @cache.get(0).toDataURL() window.file = @cache.get(0).toDataURL()
@callback @cache.get(0).toDataURL() @callback @cache.get(0).toDataURL()
@close() @close()

View file

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

View file

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

View file

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

View file

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

View file

@ -58,7 +58,6 @@ class App.BusinessHours extends Spine.Controller
slot = input.attr('data-slot') slot = input.attr('data-slot')
i = input.attr('data-i') i = input.attr('data-i')
@options.hours[day].timeframes[slot][i] = event.time.hoursAndMinutes @options.hours[day].timeframes[slot][i] = event.time.hoursAndMinutes
console.log event.time.hoursAndMinutes
@el.toggleClass 'is-invalid', !@validate() @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 # in case an init execute arrives later but is aleady executed, ignore it
if params.init && @workers[params.key] if params.init && @workers[params.key]
#console.log('IGNORE LATER INIT', params)
return return
# if we have init task startups, let the controller know this # 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 # create new online task if not exists and if not persistent
if !task && !@workers[params.key] && !params.persistent if !task && !@workers[params.key] && !params.persistent
#console.log 'debug', 'add, create new taskbar in backend'
task = new App.Taskbar task = new App.Taskbar
task.load( task.load(
key: params.key key: params.key
@ -238,8 +236,7 @@ class _taskManagerSingleton extends App.Controller
@startController(params) @startController(params)
startController: (params) => startController: (params) =>
@log 'debug', 'controller start try...', params
#console.log 'debug', 'controller start try...', params
# create clean params # create clean params
params_app = _.clone(params.params) params_app = _.clone(params.params)
@ -518,7 +515,7 @@ class _taskManagerSingleton extends App.Controller
persistent: true persistent: true
init: true init: true
) )
task_count * 350 task_count * 450
undefined undefined
'task' 'task'
) )
@ -537,7 +534,7 @@ class _taskManagerSingleton extends App.Controller
persistent: false persistent: false
init: true init: true
) )
task_count * 350 task_count * 450
undefined undefined
'task' 'task'
) )

View file

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

View file

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