Skip to content

Commit

Permalink
fixed stage loading
Browse files Browse the repository at this point in the history
  • Loading branch information
willdoran committed Apr 26, 2016
1 parent cbec33e commit 548fc49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/post/directives/post-stages-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ function (
$scope.visibleStage = stageId;
};

$scope.setVisibleStage($scope.visibleStage);

$scope.isFirstStage = function (stageId) {

if (!_.isEmpty($scope.stages)) {
Expand Down
2 changes: 1 addition & 1 deletion server/www/templates/posts/post-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h1 class="page-title"><span class="icon-left fa-pencil" translate translate-val
post="post"
stages="stages"
attributes="attributes"
visibleStage="visibleStage"
visible-stage="visibleStage"
></post-stages>
<div class="page-footer">
<button type="submit" ng-disabled="! canSavePost() || saving_post" class="button-primary"><i class="fa fa-cog fa-spin" ng-show="saving_post"></i> <span translate>post.modify.save_post</span>
Expand Down

0 comments on commit 548fc49

Please sign in to comment.