Skip to content

Commit

Permalink
Merge branch 'master' of github.com:matecat/microsoft_plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostico committed May 30, 2018
2 parents e25e2e1 + 576f434 commit 6384c46
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ protected function afterConstruct() {
$jobValidator = ( new JobPasswordValidator( $this ) );

$jobValidator->onSuccess( function () use ( $jobValidator ) {
$this->job = $jobValidator->getJob();
$job = new \Jobs_JobStruct();
$job->id = $jobValidator->getJob()->id;
$job->password = $jobValidator->getJob()->password;
$this->job = ( new \Jobs_JobDao() )->read( $job )[ 0 ];
$this->project = $this->job->getProject();
} );

Expand Down
2 changes: 1 addition & 1 deletion static/src/css/sass/microsoft-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ body.review {
}
}

body.translate {
body:not(.review) {
footer {
.wrapper nav ul li:nth-child(2) {
display: none;
Expand Down

0 comments on commit 6384c46

Please sign in to comment.