Skip to content

Commit

Permalink
Merge pull request #620 from atton16/rciti1
Browse files Browse the repository at this point in the history
Rciti1
  • Loading branch information
shankari authored Mar 11, 2020
2 parents b23cabe + fa189e7 commit 31fe33a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions www/js/intro.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,10 @@ angular.module('emission.intro', ['emission.splash.startprefs',
$scope.userEmail = userEmail;
CommHelper.registerUser(function(successResult) {
const uuid = successResult.uuid;
return EnketoSurvey.getAllSurveyAnswers('manual/user_profile_survey'
).then(function(answers){
return CommHelper.updateUser({branch: 'rciti1'}
).then(function() {
return EnketoSurvey.getAllSurveyAnswers('manual/user_profile_survey');
}).then(function(answers){
return EnketoSurvey.getUserProfile({ uuid }, answers);
}).then(function(userProfile){
if (userProfile) {
Expand Down
4 changes: 2 additions & 2 deletions www/templates/intro/intro.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<ion-view hide-nav-bar="true" class="intro-view">
<ion-slide-box delegate-handle="intro-box" on-slide-changed="slideChanged(index)" show-pager="false">
<ion-slide>
<!-- <ion-slide>
<ng-include src="'templates/intro/summary.html'"></ng-include>
</ion-slide>
</ion-slide> -->
<ion-slide>
<ng-include src="consentFile"></ng-include>
</ion-slide>
Expand Down

0 comments on commit 31fe33a

Please sign in to comment.