Add link/recipe logic
[mkdru-moved-to-drupal.org.git] / mkdru.module
index e477eab..0e4daf1 100644 (file)
@@ -61,6 +61,8 @@ function mkdru_search_execute($keys = NULL, $conditions = NULL) {
   drupal_add_js(variable_get('pz2_js_path', 'pazpar2/js') . '/pz2.js',
     array('type' => 'file', 'scope' => 'footer'));
   drupal_add_library('overlay', 'jquery-bbq');
+  drupal_add_js($path . '/recipe.js',
+    array('type' => 'file', 'scope' => 'footer'));
   drupal_add_js($path . '/mkdru.theme.js',
     array('type' => 'file', 'scope' => 'footer'));
   drupal_add_js($path . '/mkdru.client.js',