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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.