Opened 14 years ago
Closed 14 years ago
#15746 closed defect (bug) (fixed)
"g.getAttribute is not a function" error
Reported by: | scribu | Owned by: | |
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | needs-testing |
Focuses: | Cc: |
Description
Steps to reproduce:
- Go to wp-admin/edit-comments.php and set Comments per screen: 8
- Trash a comment
Attachments (3)
Change History (11)
#2
@
14 years ago
It only happens if you have SCRIPT_DEBUG = false.
Reproduced in both Firefox and Chrome. In Chrome's console, you can see the backtrace, which is very useful in this case.
#3
@
14 years ago
IRC:
greuben: happens only when the difference between approved comments and comments per screen is 3. I was confirming that bug here with scribu, I had 11 comments and using chrome browser....
#4
@
14 years ago
With and without SCRIPT_DEBUG I get now:
Uncaught TypeError: Object #<a Text> has no method 'getAttribute
#5
@
14 years ago
- Keywords has-patch added
Sometimes json_decode outputs as TEXT, so forcing it to object resolves it.
Note: See
TracTickets for help on using
tickets.
Which browser? I can't reproduce it. g.getAttribute is only used in jquery.js: http://grab.by/7OcD