Skip to content

Commit

Permalink
Study publish: update study URL to the new pretty format
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetrov committed Sep 22, 2014
1 parent 0563751 commit 1d93797
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/dashboard/assets/js/studies.js
Expand Up @@ -640,7 +640,7 @@
}

//update study_url
$scope.study_url = $window.location.protocol + "//" + $window.location.host + "/study/?" + $scope.study.id;
$scope.study_url = $window.location.protocol + "//" + $window.location.host + "/study/" + $scope.study.id;
} else {
console.log('Error message', response.message);
}
Expand Down
2 changes: 1 addition & 1 deletion www/dashboard/templates/study/publish.html
Expand Up @@ -40,7 +40,7 @@
</div>

<div class="col-xs-12 col-sm-8 col-md-8 col-lg-9">
<!-- space to render the form's as HTML -->
<!-- space to render the forms as HTML -->
<form-preview data-ng-model="current.form" size="{{ size }}" template="template" study="study" class="hidden"></form-preview>

<span class="well well-sm" style="font-size:larger" ng-class="{'hidden':!study.published}">
Expand Down

0 comments on commit 1d93797

Please sign in to comment.