From: Jason Skomorowski Date: Thu, 7 Apr 2011 02:23:02 +0000 (+0000) Subject: Disable site-wide aggregation of metasearch specific scripts for Ding. X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=fdbf888aa2a6d904b3d4a54ad46f5ca7f9f81266;p=mkdru-moved-to-drupal.org.git Disable site-wide aggregation of metasearch specific scripts for Ding. --- diff --git a/mkdru.module b/mkdru.module index b559518..ea00246 100644 --- a/mkdru.module +++ b/mkdru.module @@ -22,11 +22,11 @@ function mkdru_ting_search_tab($keys) { $path = drupal_get_path('module', 'mkdru'); // Include client library. drupal_add_js(variable_get('pz2_js_path', 'pazpar2/js') - . '/pz2.js', 'module', 'footer'); - drupal_add_js($path . '/jquery.ba-bbq.js', 'module', 'footer'); - drupal_add_js($path . '/recipe.js', 'module', 'footer'); - drupal_add_js($path . '/mkdru.theme.js', 'module', 'footer'); - drupal_add_js($path . '/mkdru.client.js', 'module', 'footer'); + . '/pz2.js', 'module', 'footer', TRUE, TRUE, FALSE); + drupal_add_js($path . '/jquery.ba-bbq.js', 'module', 'footer', TRUE, TRUE, FALSE); + drupal_add_js($path . '/recipe.js', 'module', 'footer', TRUE, TRUE, FALSE); + drupal_add_js($path . '/mkdru.theme.js', 'module', 'footer', TRUE, TRUE, FALSE); + drupal_add_js($path . '/mkdru.client.js', 'module', 'footer', TRUE, TRUE, FALSE); $html = theme('mkdru_results'); drupal_add_js(array('mkdru' => array(