Skip to content

Commit

Permalink
not listing all the values in the people in image edit field if one i…
Browse files Browse the repository at this point in the history
…mage selected
  • Loading branch information
Ebuson committed Feb 11, 2022
1 parent 43355bd commit 6b5e2a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
</span>
</button>
<span ng-class="{'image-info--multiple': ctrl.selectedImages.size > 0}"
editable-text="ctrl.metadata.peopleInImage"
editable-text="ctrl.newPeopleInImage"
ng-hide="peopleInImageEditForm.$visible"
onbeforesave="ctrl.updateMetadataField('peopleInImage', $data)"
e:form="peopleInImageEditForm"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module.controller('grImageMetadataCtrl', [
inject$($scope, Rx.Observable.fromPromise(selectedUsageCategory(ctrl.usageRights)), ctrl, 'usageCategory');
ctrl.rawMetadata = rawMetadata();
ctrl.metadata = displayMetadata();
ctrl.newPeopleInImage = "";
ctrl.extraInfo = extraInfo();
if (ctrl.singleImage) {
updateSingleImage();
Expand Down

0 comments on commit 6b5e2a8

Please sign in to comment.