remove explicit 'null' for child collection on saveName on unit code paths. I had seen cases where save was posting back an empty set on renames - deleting the components. But I can no longer reproduce it now.

This commit is contained in:
Chris Dodge
2012-11-07 09:34:44 -05:00
parent 5f1e5c2d70
commit afd8584569

View File

@@ -206,7 +206,7 @@ class CMS.Views.UnitEdit.NameEdit extends Backbone.View
if @timer
clearTimeout @timer
@timer = setTimeout( =>
@model.save(metadata: metadata, children: null)
@model.save(metadata: metadata)
@timer = null
@$spinner.delay(500).fadeOut(150)
, 500)