Make sure to create a copy of the fields array when creating the clone for editing

This commit is contained in:
Martin Kleinschrodt 2013-11-26 23:57:59 +01:00
parent 0634f43930
commit 6bc725936f
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@
startEditing: function() {
this.editCopy = {
name: this.selected.name,
fields: this.selected.fields
fields: this.selected.fields.concat([])
};
this.editing = true;
},