Browse Source

Removed prefixed slashes that caused links to break.

pull/385/head
Christian Selig 12 years ago
parent
commit
9a985d1d02
  1. 4
      islandora.module

4
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');

Loading…
Cancel
Save