Skip to content

Conversation

@betsyecastro
Copy link
Contributor

@betsyecastro betsyecastro commented Nov 26, 2025

  1. Fix ReferenceError in the clear_row() function.
  • In Firefox, the error message shows as: Uncaught ReferenceError: assignment to undeclared variable parent_elem.
  • Steps to reproduce: on any profile page that has manual edit publications, click on the "Edit" button of the publications section and click on the "x" button in the top right corner of any publication row to remove it.
  1. Fix selector errors when disabling Trix file uploads.
  • In Firefox, the error message shows as: Uncaught TypeError: can't access property "remove", document.querySelector(...) is null.
  • Steps to reproduce: on any profile page that has manual edit publications, click on the "Edit" button of the publications section and click on the "Insert New Item" button located in either the top or bottom section of the page.

@betsyecastro betsyecastro requested a review from wunc November 26, 2025 03:31
@betsyecastro betsyecastro self-assigned this Nov 26, 2025
@betsyecastro betsyecastro added 🐛 bug Something isn't working ☕️ javascript Pull requests that update Javascript code labels Nov 26, 2025
@betsyecastro betsyecastro changed the title Fix Trix JS errors when disabling file uploads and clearing rows Fix Trix JS Errors When Disabling File Uploads and Clearing Rows Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐛 bug Something isn't working ☕️ javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants