Repository navigation
Fix: Tutor LMS admin scripts break WPBakery backend editor drag and drop on Pages - #3281
Open
sazedul-haque wants to merge 1 commit into
Open
sazedul-haque wants to merge 1 commit into
sazedul-haque wants to merge 1 commit into
Conversation
- Moved all DOM queries and body class logic inside readyState_complete - Early return when tutor-option-tabs is absent, preventing null class token on document.body that broke WPBakery drag-and-drop - Fixed body class inconsistency when click lands on a child span instead of the anchor itself by using the already-resolved dataTab - Removed enableSaveButton (dead code, never called) - Removed addBodyClass() from lib.js and its call sites (replaced with an inline guard that only runs when tab_page is present in the URL)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ClickUp ticket link: https://app.clickup.com/t/9018365849/z8zyy1vkw9
Description
Testing
Use of AI Tool
Used: Yes
Used for:
Code suggestion.