Clicking "Tasks | Published" to close the sidebar tray redirects to AJAX page

Created on 23 January 2025, 7 days ago

Problem/Motivation

This seems like a new bug somewhere between D10.1 and D10.3

Steps to reproduce

1. Click "Tasks | Published" to open the sidebar tray. It opens.
2. Click again to close.

You are redirected moderation-sidebar/node/####/latest which shows a full-page of what _would_ be in the sidebar tray.

In the browser console there's a JS error:
Uncaught Error: cannot call methods on dialog prior to initialization; attempted to call method 'close'

Proposed resolution

Don't try to interface directly with the dialogue, instead, just simulate a click on its close button.

Remaining tasks

review

User interface changes

none

API changes

none

Data model changes

none

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇲🇽Mexico dalin 🇨🇦, 🇲🇽, 🌍

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024