Ticket #13824 (new Bug)
Can't change order of related items in content edit view
Reported by: | dholth | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.x |
Component: | Unknown | Version: | 4.3 |
Keywords: | Cc: |
Description
When I try to change the order of a page's related items in the 'categorization' tab of the /edit view, the up/down arrows cause a page load instead of re-ordering the items.
Instead, the up/down arrows should change the order of the related items.
This behavior is caused by the arrow's onclick= handler referencing a non-global JavaScript function.
Perhaps at some point it was redesigned to be applied to a sortable area by the javascript instead of being called directly from the HTML.
Change History
Note: See
TracTickets for help on using
tickets.
A quick fix is to just export the relevant functions from referencebrowser.js like so. A different way might be to change the form HTML so that the 'onload' script adds the correct click handler.