Create patch please and include it to module (if possible):

--- /sites/all/modules/date/date_popup/date_popup.module	Пт авг 13 21:48:34 2010
+++ /sites/all/modules/date/date_popup/date_popup_173.module	Ср сен 15 11:49:09 2010
@@ -51,6 +51,16 @@
       $paths[drupal_get_path('module', 'date_popup') .'/themes/datepicker.css'] = t('Date Popup default');
       $paths[$jquery_ui_path .'/jquery.ui/themes/base/ui.datepicker.css'] = t('jQuery UI default');
       break;
+    case '1.7.3':
+      $path = drupal_get_path('module', 'jquery_ui') .'/jquery.ui/themes';
+      $files = is_dir($path) ? scandir($path) : array();
+      $nomask = array('.', '..', 'CVS');
+      foreach ($files as $dir) {
+        if (is_dir($path .'/'. $dir) && !in_array($dir, $nomask)) {
+          $paths[$path .'/'. $dir .'/ui.datepicker.css'] = 'jQuery UI '.$dir;
+        }
+      }
+      break;
     default:
       $paths[drupal_get_path('module', 'date_popup') .'/themes/datepicker.1.7.css'] = t('Date Popup default');
       $paths[$jquery_ui_path .'/jquery.ui/themes/default/ui.datepicker.css'] = t('jQuery UI default');
@@ -69,7 +79,15 @@
     return;
   }
 
-  drupal_add_css(variable_get('date_popup_css_file', date_popup_css_default()));
+  $pathinfo = pathinfo(variable_get('date_popup_css_file', date_popup_css_default()));
+  if ($pathinfo['filename'] == 'ui.datepicker') {
+    drupal_add_css($pathinfo['dirname'] . '/ui.core.css');
+    drupal_add_css($pathinfo['dirname'] . '/ui.datepicker.css');
+    drupal_add_css($pathinfo['dirname'] . '/ui.theme.css');
+  }
+  else {
+    drupal_add_css($pathinfo['dirname'] . $pathinfo['basename']);
+  }
 
   if (variable_get('date_popup_timepicker', 'default') == 'default') {
     drupal_add_css(drupal_get_path('module', 'date_popup')  .'/themes/jquery.timeentry.css');

Original solution: http://www.drupal.ru/node/49897

Comments

karens’s picture

Status: Active » Postponed (maintainer needs more info)

Please explain why you think this patch is needed and what it is trying to accomplish.

arlinsandbulte’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

No reply for 3 months.
Closing...

bakr’s picture

I know that the date pop-up is showing in proper style once updating to jquery ui 1.7.3

that is why the patch has been proposed to my understanding. and I am happy that someone addressed this already.

of-course this patch is really needed for those using the jquery update module.

graceman9’s picture

Version: 6.x-2.6 » 6.x-2.7
Status: Closed (won't fix) » Active
StatusFileSize
new1.85 KB

>Please explain why you think this patch is needed and what it is trying to accomplish.
I want to be able to access additional styles. Why not?

>No reply for 3 months.
Sorry for the delay. Here is new (fixed 6.x-2.7) patch:

graceman9’s picture

StatusFileSize
new1.86 KB

oops.. here is 'right' patch

xjm’s picture

Status: Active » Closed (duplicate)