Skip to content

Commit

Permalink
BXC-4061 adding help text
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharon Luong committed Oct 12, 2023
1 parent 08060d3 commit 919167a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion static/js/admin/src/ResultObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ define('ResultObject', [ 'jquery', 'jquery-ui', 'underscore', 'ModalLoadingOverl
case 'patron-settings':
helpText = 'Patron access settings for this object have been added';
break;
case 'primary-object':
case 'is-primary-object':
helpText = 'This file is the representative object for the work which contains it';
break;
case 'staff-only':
Expand All @@ -94,6 +94,9 @@ define('ResultObject', [ 'jquery', 'jquery-ui', 'underscore', 'ModalLoadingOverl
case 'inherited-settings':
helpText = 'Object is inheriting patron access settings which have been modified (typically they are more restrictive)';
break;
case 'assigned-as-thumbnail':
helpText = 'This file is the assigned thumbnail for the work which contains it';
break;
default:
helpText = '';
}
Expand Down
2 changes: 1 addition & 1 deletion static/js/admin/src/action/AssignAsThumbnailAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ define('AssignAsThumbnailAction', [ 'jquery', 'AjaxCallbackAction'], function($,
};

return AssignAsThumbnailAction;
});
});
1 change: 1 addition & 0 deletions static/js/admin/src/action/ClearAssignedThumbnailAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ define('ClearAssignedThumbnailAction', [ 'jquery', 'AjaxCallbackAction'], functi
};
}


AjaxCallbackAction.prototype._create.call(this, options);
};

Expand Down

0 comments on commit 919167a

Please sign in to comment.