Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bell icon not working when content reviewer user is under Settings tab #175

Open
Jianbinzhu opened this issue Nov 29, 2022 · 1 comment
Open

Comments

@Jianbinzhu
Copy link

Jianbinzhu commented Nov 29, 2022

When a content reviewer (read only access) go to a page in the CMS in edit mode, and go to the Settings tab. The bell icon triggers the following error, this is because it is not getting the Page ID, the #content-review__dialog-wrapper grabs the page ID by looking for an input field:
ContentReviewForm.js const id = $('form.cms-edit-form :input[name=ID]').val();
but as a content reviewer with read only access, and readonly fields are not input fields.

Screen Shot 2022-11-30 at 11 22 51 AM

Screen Shot 2022-11-30 at 11 26 08 AM

@Jianbinzhu
Copy link
Author

Found a workaround by adding a hidden input field (value = PageID) under the Settings tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants