Removed clone. Just do stringily in try/catch.

This commit is contained in:
Martin Edenhofer 2015-05-27 11:47:00 +02:00
parent 23b15acf52
commit f933523c8d

View file

@ -119,10 +119,11 @@ class _trackSingleton
newDataNew = []
for item in newData
try
itemNew = _.clone( item )
# check if strigify is possibe, prevent ajax errors
JSON.stringify(item)
newDataNew.push itemNew
newDataNew.push item
catch e
# nothing