Levels and Components with i18nCoverage update that coverage from the level editor now.

This commit is contained in:
Scott Erickson 2014-10-28 13:48:17 -07:00
parent 9e6fd119a0
commit 895645ef6d

View file

@ -96,6 +96,7 @@ module.exports = class SaveLevelModal extends SaveVersionModal
@showLoading() @showLoading()
tuples = _.zip(modelsToSave, formsToSave) tuples = _.zip(modelsToSave, formsToSave)
for [newModel, form] in tuples for [newModel, form] in tuples
newModel.updateI18NCoverage() if newModel.get('i18nCoverage')
res = newModel.save() res = newModel.save()
do (newModel, form) => do (newModel, form) =>
res.error => res.error =>