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.
Hi,
It's me again. I try to disable the standard jquery_ui_dialog.default.css and it fails. The problem occurs in the jquery_ui_dialog.api.inc at row 23.
// Add the css files for the jquery ui theme
drupal_add_css("$m/css/jquery_ui_dialog-dialog/jquery_ui_dialog.css");
// Add the css files we need for the dialog in general
It will always be enabled!!
So here this is what i changed.
// Add the css files for the jquery ui theme
if(variable_get('jquery_ui_dialog_default_css', true) ) {
drupal_add_css("$m/css/jquery_ui_dialog-dialog/jquery_ui_dialog.css");
}
// Add the css files we need for the dialog in general
This fixes the problem.
Comments