Changing the language of my client's site is it's key feature and today ive noticed the language dropdown does not work at all in Chrome! It does not respond to mouse hover or clicks.
The javascript files are being loaded fine within the header.

This is pretty serious, which is why im listing it as Major.

Im running the latest version of chrome, 15.0.874.120 m

The dropdown works fine in FF, IE and Safari.

Any help would be great, thanks!

Comments

karengrey’s picture

Ive had to edit the .module file for now to detect Chrome and ignore adding the .js files.

  if ($settings['js_widget']) {
+  $browser = $_SERVER['HTTP_USER_AGENT'];
+  if(!strstr($browser, 'Chrome')){

      drupal_add_js($module_path .'/msdropdown/jquery.dd.js');
      drupal_add_css($module_path . '/msdropdown/dd.css');

      $js_settings += array(
        'visibleRows' => $settings['js_widget_settings']['visible_rows'],
        'rowHeight' => $settings['js_widget_settings']['row_height'],
        'animStyle' => $settings['js_widget_settings']['animation'],
      );
      drupal_add_js(array('langDropdown' => array('jsWidget' => $js_settings)), 'setting');
+  }
  }
tommann’s picture

I am facing the same issue, I will try your approach if it is working for you.

manfer’s picture

Status: Active » Closed (cannot reproduce)

I'm closing this issue as it should not be happening. If someone still has problems with Chrome after upgrading to 6.x-1.7 open another issue to work on it.

tommann’s picture

I had to find another approach for language selection, but will look at the latest version next time it comes up.