? .DS_Store
? jquery.ui
? jquery_ui-choose-theme-266692-6.patch
? jquery_ui-choose-theme-266692-8.patch
? jquery_ui-remove-compression-273161-1.patch
Index: jquery_ui.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/jquery_ui/jquery_ui.module,v
retrieving revision 1.3
diff -u -p -r1.3 jquery_ui.module
--- jquery_ui.module	15 Jun 2008 05:15:11 -0000	1.3
+++ jquery_ui.module	21 Jun 2008 05:35:30 -0000
@@ -21,19 +21,11 @@ define('JQUERY_UI_PATH', drupal_get_path
  * @param $files
  *   An array of what additional files (other than UI core) should be loaded
  *   on the page.
- * @param $type
- *   Compression type: leave empty to use admin setting.
- *   Possible values: 'minified', 'packed', 'none'
  */
-function jquery_ui_add($files = array(), $type = NULL) {
+function jquery_ui_add($files = array()) {
   static $loaded_files, $ui_core, $effects_core;
   $jquery_ui_path = JQUERY_UI_PATH . '/ui';
-
-  // If a type wasn't specified, then default to whatever was specified in the
-  // settings page.
-  if (is_null($type)) {
-    $type = variable_get('jquery_ui_compression_type', 'minified');
-  }
+  $type = variable_get('jquery_update_compression_type', 'mini');
 
   // If core hasn't been added yet, add it.
   if (!isset($ui_core)) {
@@ -55,10 +47,10 @@ function jquery_ui_add($files = array(),
         case 'none':
           $file_path = "$file.js";
           break;
-        case 'packed':
+        case 'pack':
           $file_path = "packed/$file.packed.js";
           break;
-        case 'minified':
+        case 'mini':
         default:
           $file_path = "minified/$file.min.js";
           break;
@@ -71,36 +63,6 @@ function jquery_ui_add($files = array(),
 }
 
 /**
- * Implementation of hook_menu().
- */
-function jquery_ui_menu() {
-  $items['admin/settings/jquery_ui'] = array(
-    'title' => 'jQuery UI',
-    'description' => 'Configure settings for jQuery UI module.',
-    'page callback' => 'drupal_get_form',
-    'page arguments' => array('jquery_ui_admin_settings'),
-    'access arguments' => array('access site configuration'),
-  );
-
-  return $items;
-}
-
-/**
- * Admin settings form.
- */
-function jquery_ui_admin_settings() {
-  $form['jquery_ui_compression_type'] = array(
-    '#type' => 'radios',
-    '#title' => t('jQuery UI compression type'),
-    '#options' => drupal_map_assoc(array('packed', 'minified', 'none')),
-    '#default_value' => variable_get('jquery_ui_compression_type', 'minified'),
-    '#description' => t("Type of compression to use. 'Packed' uses Dean Edward's packer to make the file size as small as possible, but may require more browser processing. 'Minified' takes out all comments, whitespace, etc. to reduce the file size to a lesser degree, maintaining performance. 'None' leaves the full source intact."),
-  );
-
-  return system_settings_form($form);
-}
-
-/**
  * Return the version of jQuery UI installed.
  */
 function jquery_ui_get_version() {
