From 9a985d1d0208272bc8d36f137a26404d36096441 Mon Sep 17 00:00:00 2001 From: Christian Selig Date: Wed, 14 Aug 2013 20:11:41 +0000 Subject: [PATCH] Removed prefixed slashes that caused links to break. --- islandora.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/islandora.module b/islandora.module index 7d2c0acb..11595b67 100644 --- a/islandora.module +++ b/islandora.module @@ -796,13 +796,13 @@ function islandora_view_object(AbstractObject $object) { $path = drupal_get_path('module', 'islandora'); drupal_add_js(array( 'islandora' => array( - 'print_img' => $path . '/images/print-icon.png'), + 'print_img' => $path . 'images/print-icon.png'), ), array( 'type' => 'setting')); drupal_add_js(array( 'islandora' => array( - 'print_link' => '/islandora/object/' . $object->id . '/print')), + 'print_link' => 'islandora/object/' . $object->id . '/print')), array('type' => 'setting')); drupal_add_js($path . '/js/add_print.js');