Admin term overview page: allow disabling tabledrag

Created on 15 September 2016, over 8 years ago
Updated 22 May 2023, over 1 year ago

Using taxonomy in my own module, in some cases I disable tabledrag of the terms overview by deleting $form['terms']['#tabledrag']. As a consequence of this there is no content in Drupal.tableDrag.taxonomy (JavaScript). The attach function of Drupal.behaviors.termDrag (taxonomy.js) is regardless executed and runs into an error.

Is it possible to abort the function if there is no content in Drupal.tableDrag.taxonomy?
Thanks.

✨ Feature request
Status

Closed: outdated

Version

9.5

Component
TaxonomyΒ  β†’

Last updated 3 days ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @xjm
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡©πŸ‡ͺGermany gendoas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024