Opened 13 years ago
Closed 13 years ago
#19623 closed Uncategorized (duplicate)
Update inlines.js to use jQuery 1.9
| Reported by: | jordanorc | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.admin | Version: | 1.4 |
| Severity: | Normal | Keywords: | jquery admin inlines.js |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
On line 44 in inlines.js, we have the code:
$(this).attr("tagName") == "TR"
In jQuery version 1.9, this code doesn't works.
Is better to do:
$(this).is("tr")
So, it works on jQuery 1.4.2 and jQuery 1.9
Attachments (1)
Change History (4)
by , 13 years ago
| Attachment: | inlines.diff added |
|---|
comment:1 by , 13 years ago
This is more or less the same issue reported in #19598 though this has a patch.
comment:2 by , 13 years ago
Yes... Is the same bug. Sorry for that. The patch can be attached to issue #19598, if necessary.
comment:3 by , 13 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Closing as a duplicate of #19598
Note:
See TracTickets
for help on using tickets.
Patch to solve the problem