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.
In media_gallery.form.js
Media gallery overwrites the menu.module behavior vertical tabs summary.
Simple fix, patch attached.
Comment | File | Size | Author |
---|---|---|---|
media_gallery_fieldset_summary.patch | 466 bytes | smartinm | |
media_gallery_menu_js_fixed.png | 9.09 KB | smartinm | |
media_gallery_menu_js.png | 8.63 KB | smartinm |
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedIn the JS Coding Standards, CamelCasing is defined, as you have done.
In the vertical tabs example, they use the exact module name, without CamelCasing.
Should we do the same as the example, or is CamelCasing ok?
Comment #2
smartinm CreditAttribution: smartinm commentedI think we should respect the coding style. Currently, Media gallery module mix both styles, for example:
In media_gallery.js:
In media_gallery.dragdrop.js:
Maybe we can create another issue to apply the JS coding standards to all the files.
Comment #3
Moloc CreditAttribution: Moloc commentedThank you. Just checked the core modules. They also use CamelCase.
Patch commited: http://drupalcode.org/project/media_gallery.git/commit/bc3c4c5
Comment #4.0
(not verified) CreditAttribution: commentedAdded screenshots images.