10up / brightcove-video-connect

A plugin to integrate your Brightcove video library or libraries with WordPress
https://www.brightcove.com/
GNU General Public License v2.0
22 stars 34 forks source link

Fix: Don't open the detailed view if button is disabled #372

Closed burhandodhy closed 9 months ago

burhandodhy commented 9 months ago

Description of the Change

Closes #345

How to test the Change

  1. Clicking on a video and then on "Edit" open the video details to be edited. The only way to go back is to scroll down to the bottom and click "Back". Hitting "Back" on the browser or reloading the page has an unexpected behavior.
  2. Clicking on "Edit" on an Inactive video goes to a blank page.

https://github.com/10up/brightcove-video-connect/assets/184628/63f2ae23-c047-4016-9dca-ea13f0db0e78

Changelog Entry

Fixed - Clicking on the "Edit" and "Preview" buttons for the inactive videos breakes the layout

Credits

Props @burhandodhy @felipeelia

Checklist: