Browse Source

Merge pull request #408 from jordandukart/7.x-fix-print

Fix path broken by 1438e806cd.
pull/410/head
Morgan Dawe 11 years ago
parent
commit
329be4d19f
  1. 2
      islandora.module

2
islandora.module

@ -878,7 +878,7 @@ function islandora_view_object(AbstractObject $object) {
), array( ), array(
'type' => 'setting')); 'type' => 'setting'));
drupal_add_js(array('islandora' => array('print_link' => 'islandora/object/' . $object->id . '/print')), array('type' => 'setting')); drupal_add_js(array('islandora' => array('print_link' => 'islandora/object/' . $object->id . '/print_object')), array('type' => 'setting'));
drupal_add_js($path . '/js/add_print.js'); drupal_add_js($path . '/js/add_print.js');
drupal_set_title($object->label); drupal_set_title($object->label);

Loading…
Cancel
Save