Update ForkModal.coffee. Unset i18nCoverage on Fork

This commit is contained in:
Nikita Gryzlov 2015-03-24 02:39:03 +03:00
parent 7cda4e65e3
commit 20884f8b5d

View file

@ -29,6 +29,7 @@ module.exports = class ForkModal extends ModalView
newModel.unset 'original'
newModel.unset 'parent'
newModel.unset 'i18n'
newModel.unset 'i18nCoverage'
newModel.set 'commitMessage', "Forked from #{@model.get('name')}"
newModel.set 'name', @$el.find('#fork-model-name').val()
if @model.schema().properties.permissions