Skip to content

Commit

Permalink
Fixed project description editing bug (Issue #348)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvae86 committed Mar 6, 2018
1 parent 95f1412 commit 33111d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/controllers/projects.js
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ exports.administer = function (req, res)
}
else
{
viewVars.error_messages = ["Project " + requestedResourceUri + " does not exist."];
viewVars.error_messages = ["Project " + req.params.requestedResourceUri + " does not exist."];

sendResponse(
"projects/administration/administer",
Expand Down
2 changes: 1 addition & 1 deletion src/views/projects/administration/administer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
<div class="form-group">
<label for="description" class="col-sm-2 control-label">Description</label>
<div class="col-sm-10">
<textarea class="form-control" id="description" rows="3" name="description" ng-value="project.dcterms.description"></textarea>
<textarea class="form-control" id="description" rows="3" name="description" ng-model="project.dcterms.description"></textarea>
<p class="help-block">Your project's description, maybe the abstract of its public grant application? Example: "Results of the third Gravimetry run campaign over the Azores</p>
</div>
</div>
Expand Down

0 comments on commit 33111d9

Please sign in to comment.