Opened 12 years ago

Closed 12 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)

inlines.diff (3.8 KB ) - added by jordanorc 12 years ago.
Patch to solve the problem

Download all attachments as: .zip

Change History (4)

by jordanorc, 12 years ago

Attachment: inlines.diff added

Patch to solve the problem

comment:1 by Mark Lavin, 12 years ago

This is more or less the same issue reported in #19598 though this has a patch.

comment:2 by jordanorc, 12 years ago

Yes... Is the same bug. Sorry for that. The patch can be attached to issue #19598, if necessary.

comment:3 by Bas Peschier, 12 years ago

Resolution: duplicate
Status: newclosed

Closing as a duplicate of #19598

Note: See TracTickets for help on using tickets.
Back to Top