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.
I was having problem. With the latest code. The multiselect worked. But it had a javascript error casuing CKeditor box to disapear. This was because of row 48 in multiselect.js:
if (Drupal.settings.multiselect.widths != '') {
widths has not been set. And there is no UI for setting this variable. But the following drush command solved my problem:
drush vset multiselect_widths 500
Comment | File | Size | Author |
---|---|---|---|
#1 | multiselect_not_defined.patch | 520 bytes | bbytyqi |
Comments
Comment #1
bbytyqi CreditAttribution: bbytyqi commentedI've been getting an error in the console that says "Uncaught TypeError: drupalSettings.multiselect is undefined". The patch attached works for me to resolve the error.
Comment #2
bobi-mel CreditAttribution: bobi-mel as a volunteer and at DevBranch, Drupal Ukraine Community commentedThis bug was fixed in the 'Fix eslint in 2.x branch' issue by me to 2.x branch, line #31. Please check it
Comment #3
mparker17Marking #3407697: Fix eslint in 2.x branch as a parent issue.