Skip to content

Commit

Permalink
fix label on publisher identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
kaysiz committed Dec 4, 2023
1 parent 000fdd6 commit 1e68d51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/components/doi-publisher.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export default Component.extend({
if (e.keyCode === 13 && select.isOpen && !isBlank(select.searchText)) {
select.actions.choose(select.searchText);
this.fragment.set('name', select.searchText);
this.fragment.set('publisherIdentifier', null);
this.fragment.set('schemeUri', null);
this.fragment.set('publisherIdentifierScheme', null);
this.fragment.set('lang', null);
}
},
searchRor(query) {
Expand Down
4 changes: 3 additions & 1 deletion app/templates/components/doi-publisher.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
{{#if fragment.publisherIdentifier}}
<div class="form-group required-nested-label">
<div class="col-md-9 col-md-offset-3 input-fragment">
<div class="label-vertical">Publisher identifier</div>
<input type="text" class="form-control affiliation-identifier-field no-error no-success" value={{fragment.publisherIdentifier}} readonly="true"/>
<div class="help-block help-block-fragment affiliation-field">
Publisher names and identifiers are provided by the Research Organization Registry (ROR).
</div>
</div>
</div>
{{/if}}

0 comments on commit 1e68d51

Please sign in to comment.