diff -urp jquery_ui.info jquery_ui.info --- jquery_ui.info 2009-06-20 20:50:34.000000000 -0700 +++ jquery_ui.info 2009-10-28 11:05:24.000000000 -0700 @@ -2,6 +2,7 @@ name = jQuery UI description = Provides the jQuery UI plug-in to other Drupal modules. package = User interface +dependencies[] = libraries core = 6.x ; Information added by drupal.org packaging script on 2009-06-21 diff -urp jquery_ui.install jquery_ui.install --- jquery_ui.install 2009-06-20 20:43:03.000000000 -0700 +++ jquery_ui.install 2009-10-28 11:24:41.000000000 -0700 @@ -31,7 +31,7 @@ function jquery_ui_requirements($phase) $requirements['jquery_ui']['value'] = $t('Not found'); // Provide a download link to the jQuery UI development bundle. The provided // link will list the latest 1.6.x build. - $requirements['jquery_ui']['description'] = $t('The jQuery UI plugin is missing. Download and extract it to your jquery_ui module directory. See README.txt for more info.', array('@jqueryui' => 'http://jqueryui.com', '@download' => 'http://code.google.com/p/jquery-ui/downloads/list?can=3&q=1.6', '@readme' => url(drupal_get_path('module', 'jquery_ui') . '/README.txt'))); + $requirements['jquery_ui']['description'] = $t('The jQuery UI plugin is missing. Download and extract it to the libraries directory (name it as jquery_ui). See README.txt for more info.', array('@jqueryui' => 'http://jqueryui.com', '@download' => 'http://code.google.com/p/jquery-ui/downloads/list?can=3&q=1.6', '@readme' => url(drupal_get_path('module', 'jquery_ui') . '/README.txt'))); $requirements['jquery_ui']['severity'] = REQUIREMENT_ERROR; } diff -urp jquery_ui.module jquery_ui.module --- jquery_ui.module 2009-06-20 20:43:03.000000000 -0700 +++ jquery_ui.module 2009-10-28 11:34:04.000000000 -0700 @@ -18,10 +18,11 @@ * safe for use in URLs. */ if (defined('MAINTENANCE_MODE') && MAINTENANCE_MODE == 'install') { - define('JQUERY_UI_PATH', dirname(__FILE__) . '/jquery.ui'); + define('JQUERY_UI_PATH', dirname(__FILE__) . '/jquery_ui'); } else { - define('JQUERY_UI_PATH', drupal_get_path('module', 'jquery_ui') . '/jquery.ui'); + include_once drupal_get_path('module', 'libraries') . '/libraries.module'; + define('JQUERY_UI_PATH', libraries_get_path('jquery_ui', true)); } /** diff -urp README.txt README.txt --- README.txt 2009-06-20 20:43:03.000000000 -0700 +++ README.txt 2009-10-28 11:25:02.000000000 -0700 @@ -31,7 +31,9 @@ To submit bug reports and feature sugges * Extract it as a sub-directory called 'jquery.ui' in the jquery_ui folder: - /sites/all/modules/jquery_ui/jquery.ui/ + /sites/all/libraries/jquery_ui/ + OR + /sites//libraries/jquery_ui/ * Enable the module at Administer >> Site building >> Modules. Only in jquery_ui: .svn