The WORKAREA.newNavigationTaxons module was looking in the wrong place for the selected navigable item, therefore the selected var would always return undefined, causing the navigable_id param to be blank every time. Fix this by querying for the correct DOM node (the [data-new-navigation-taxon] element) and pulling the selected ID from its data.
The
WORKAREA.newNavigationTaxons
module was looking in the wrong place for the selected navigable item, therefore theselected
var would always returnundefined
, causing thenavigable_id
param to be blank every time. Fix this by querying for the correct DOM node (the[data-new-navigation-taxon]
element) and pulling the selected ID from its data.Fixes #534