Skip to content

Commit

Permalink
#4 Add missing JS varialble initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
nadouani committed Nov 14, 2016
1 parent eef622c commit 42a72bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/scripts/controllers/case/ObservableCreationCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
tags: [],
tagNames: ''
};
$scope.tags = [];

$scope.$watchCollection('tags', function(value) {
$scope.params.tagNames = _.pluck(value, 'text').join(',');
Expand Down Expand Up @@ -84,7 +85,6 @@
postData.data = params.data;
}

//postData.data = $scope.params.bulk ? params.data.split('\n') : params.data;
} else if (params.attachment) {
postData.attachment = params.attachment;
}
Expand Down

0 comments on commit 42a72bb

Please sign in to comment.