clean up code
This commit is contained in:
parent
ce8cba14f8
commit
cf6cbcc3c9
1 changed files with 1 additions and 2 deletions
|
@ -317,7 +317,7 @@
|
|||
|
||||
// create new selection record in store and assign it to the new user
|
||||
var self = this,
|
||||
newSelections = [];
|
||||
newSelections = [];
|
||||
$('.newUserSelection').each(function(){
|
||||
// generate a new selection id
|
||||
var newSelectionId = function(){
|
||||
|
@ -337,7 +337,6 @@
|
|||
|
||||
newUser.get('selections').then(function(selections){
|
||||
// map over all new selections and assign them to user
|
||||
var selections = selections;
|
||||
$.each(newSelections, function(){
|
||||
selections.pushObject(this);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue