? javascript_aggregator_516882.patch Index: javascript_aggregator.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/javascript_aggregator/Attic/javascript_aggregator.module,v retrieving revision 1.17.2.13 diff -u -p -r1.17.2.13 javascript_aggregator.module --- javascript_aggregator.module 23 May 2009 14:54:49 -0000 1.17.2.13 +++ javascript_aggregator.module 12 Jul 2009 18:07:24 -0000 @@ -101,8 +101,8 @@ function _javascript_aggregator_minify($ if (variable_get('javascript_aggregator_gzip', FALSE)) { // Create the GZip file if it doesn't already exist. - if (!file_exists($jsmin_file .'.gz')) { - file_save_data(gzencode($contents, 9), $jsmin_file .'.gz', FILE_EXISTS_REPLACE); + if (!file_exists($aggregated_file .'.gz')) { + file_save_data(gzencode($contents, 9), $aggregated_file .'.gz', FILE_EXISTS_REPLACE); } // Make sure the .htaccess file is active to handle GZipped JavaScript files. @@ -135,7 +135,7 @@ EOT; } // Replace the aggregated file with the minified JavaScript file. - $scripts = str_replace($aggregated_file, $jsmin_file, $scripts); + //$scripts = str_replace($aggregated_file, $jsmin_file, $scripts); } return $scripts;