Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 301097

Add a new Drupal.theme JavaScript function for theming the the show/hide row weight toggle and its wrapper in draggable tables

$
0
0

Problem/Motivation

Drupal core's tabledrag.js uses a hard-coded markup for the tabledrag toggle height markup and its wrapper div that are not overridable by themes.

Proposed resolution

  1. Introduce new Drupal.theme callback for the toggle weight (visibility) button.
  2. Introduce new Drupal.theme callback for the toggle button wrapper.
  3. Refactor tabledrag.js and fully replace the toggle if it is changed. This is required for adding different icons for the 'show' and the 'hide' action.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 301097

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>