Opened 11 years ago
Closed 11 years ago
#32870 closed defect (bug) (fixed)
commentReply is undefined in the editor screen
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 4.3 | Priority: | normal |
| Severity: | normal | Version: | 4.3 |
| Component: | Editor | Keywords: | |
| Focuses: | javascript | Cc: |
Description
When editing posts or pages you hit an error with commentReply being undefined halting all future js execution.
post.js:271 contains the code commentReply.close(); which halts execution and makes the "You are leaving this page" warning show up when saving draft and publishing posts and pages
Change History (4)
#2
@
11 years ago
It only kicks in on a new post or page, it could seems like the metabox the javascript function references isn't included in post_new.php, but it exists in post.php perhaps?
Editing an existing post or page will not lead to this behavior, nor will it happen again after saving as a draft or publishing once (so you need to click the "Leave this page" link once no matter what).
Note: See
TracTickets for help on using
tickets.
Introduced in [33024]. I could not reproduce the error so far, are there any specific steps?