Removed no acceptedInstances warnings.

This commit is contained in:
Martin Edenhofer 2016-05-17 16:28:08 +02:00
parent 30e40b62d1
commit f9c20e582e
2 changed files with 3 additions and 3 deletions

View file

@ -18,11 +18,10 @@ class App.TicketZoomSidebar extends App.Controller
el.find('.edit').html('')
defaults = ticket.attributes()
delete defaults.article # ignore article infos
task_state = @taskGet('ticket')
modelDiff = App.Utils.formDiff(task_state, defaults)
#if @isRole('Customer')
# delete defaults['state_id']
# delete defaults['state']
if !_.isEmpty(task_state)
defaults = _.extend(defaults, task_state)

View file

@ -119,6 +119,7 @@ function clone(item, full) {
// check if item is accepted to get cloned
if (itemType && !_.contains(acceptedInstances, itemType)) {
console.log('no acceptedInstances', itemType, item)
console.trace()
return
}