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.
Have anyone had a problem with this where form is opened through Modal forms, on Admin theme, and after opening a popup, anonymous theme is loaded as well? So after that I have styles and scripts from both themes, admin and anonymous.
Is this module designed only for anonymous theme, or I'm missing something?
Any suggestions are welcome.
Comments
Comment #1
thekatic CreditAttribution: thekatic commentedQuick and dirty fix was in altering ajax_render function by removing anonymous theme from the list of styles and scripts which will be loaded to the page after popup is opened.
I'm sure this is not a good way to solve this but I needed a fast fix.
Still looking for a better solution.