[wp-trac] [WordPress Trac] #24741: "Quick Edit" button at "Comments" page doesn't work in slow connection
WordPress Trac
noreply at wordpress.org
Wed Feb 26 05:38:10 UTC 2014
#24741: "Quick Edit" button at "Comments" page doesn't work in slow connection
--------------------------+------------------------------
Reporter: yongbae | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 3.5.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Changes (by aubreypwd):
* keywords: => has-patch
Comment:
`edit-comments.js` indeed is not loaded until the footer, so
`onclick="commentReply.open"` would not work beforehand because
`commentReply` is not yet defined. I've attached a patch that tests that
`commentsReply` is an object before it's accessed. Successfully keeps the
error from posting, which could cause problems maybe in some situations.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24741#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list