mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Merge pull request #2548 from nixel2007/ForkModal
Clean i18n when forking an object
This commit is contained in:
commit
5502deb9f6
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ module.exports = class ForkModal extends ModalView
|
|||
newModel.unset 'created'
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue