#2017 closed defect (bug) (fixed)
JavaScript for "rel" field in links references wrong id
Reported by: | filosofo | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Administration | Keywords: | links, rel, link_rel, has patch |
Focuses: | Cc: |
Description
While looking at another problem (#2016), I noticed that the Javascript "upit" function used for the Link options was throwing errors with almost every radio button click.
The problem: upit tries to assign a value to an object with id="rel", but no such object exists. Instead, it means to assign those values to id="link_rel".
The attached patch now avoids Javascript errors as well as correctly populating the "rel" field when one is creating or editing links.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [3256]) Use link_rel id. Props filosofo. fixes #2017