diff --git a/islandora.module b/islandora.module index a8250fcc..8fa20898 100644 --- a/islandora.module +++ b/islandora.module @@ -132,7 +132,7 @@ function islandora_menu() { 'page arguments' => array(2), 'type' => MENU_CALLBACK, 'access callback' => 'islandora_object_access', - 'access arguments' => array(FEDORA_VIEW_OBJECTS, 2), + 'access arguments' => array(ISLANDORA_VIEW_OBJECTS, 2), 'load arguments' => array(2), ); $items['islandora/object/%islandora_object/view'] = array( diff --git a/js/add_print.js b/js/add_print.js index 014ec2e3..0059ed88 100644 --- a/js/add_print.js +++ b/js/add_print.js @@ -10,7 +10,6 @@ $(document).ready(function() { $('.tabs .primary').append(''); $('#print_btn').css("cursor","pointer"); - console.log(Drupal.settings.basePath + Drupal.settings.islandora.print_link); $('#print_btn').click(function() { window.location=Drupal.settings.basePath + Drupal.settings.islandora.print_link; });