Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This might win me The Most Trivial Patch of the Month Award :P
The library definition in system.module
already declares its dependencies correctly:
$libraries['drupal.tableselect'] = array(
'title' => 'Tableselect',
'version' => VERSION,
'js' => array(
'core/misc/tableselect.js' => array(),
),
'dependencies' => array(
array('system', 'drupal'),
array('system', 'jquery'),
),
);
So it's really only
(function ($) {
…
})(jQuery);
that is wrong: it should also list Drupal
.
Comment | File | Size | Author |
---|---|---|---|
tableselect_closure_drupal.patch | 440 bytes | Wim Leers | |
Comments
Comment #1
Gábor HojtsyTrivival.
Comment #2
webchickCommitted and pushed to 8.x. Thanks!