- Issue created by @Grimreaper
- 🇮🇳India sakthi_dev
Hi @grimreaper, Could you please provide the steps to reproduce from Vanilla Drupal Install?
- Assigned to Grimreaper
- Assigned to Christian.wiedemann
- 🇫🇷France Grimreaper France 🇫🇷
After some testing, it was due to my front theme (ui_suite_bootstrap) which provides template suggestions.
On custom projects with subtheme I have code that calls again gin_lb_theme_suggestions_alter($suggestions, $variables, 'input') so the gin_lb suggestions are taken into account and then it is ok.
Looking at the JS in https://git.drupalcode.org/project/gin_lb/-/blob/1.0.x/js/gin_lb_toolbar..., I would be in favor of changing the selector ".glb-primary-save" into ".js-glb-primary-save", prefixing CSS classes used by JS code by 'js-' is a good practice to avoid confusion and separating classes for CSS and the ones for JS.
And then in the selector "#gin_sidebar .form-actions .glb-button--primary", ".glb-button--primary" may be not restrictive enough, we may encounter side effect with a potentially other buttons.
@Christian.wiedemann, What is your opinion on this proposal?
- Assigned to Grimreaper
- 🇫🇷France Grimreaper France 🇫🇷
Discussed with @Christian.wiedemann on friday 22/09/2023. Ok
- @grimreaper opened merge request.
-
Grimreaper →
committed 3b698513 on 1.0.x
Issue #3386693 by Grimreaper: Make title translatable.
-
Grimreaper →
committed 3b698513 on 1.0.x
-
Grimreaper →
committed 3968b2a6 on 1.0.x
Issue #3386693 by Grimreaper, Christian.wiedemann: Improve JS selector
-
Grimreaper →
committed 3968b2a6 on 1.0.x
- Issue was unassigned.
- Status changed to Fixed
over 1 year ago 2:31pm 25 September 2023 - 🇩🇪Germany Christian.wiedemann
Grimreaper → credited Christian.wiedemann → .
Automatically closed - issue fixed for 2 weeks with no activity.