|
|
|
@ -8,11 +8,11 @@
|
|
|
|
|
*/ |
|
|
|
|
(function ($) { |
|
|
|
|
$(document).ready(function() { |
|
|
|
|
$('.tabs .primary').append('<img id="print_btn" title="Print" src="/' + Drupal.settings.islandora.print_img + '"></img>'); |
|
|
|
|
$('.tabs .primary').append('<img id="print_btn" title="Print" src="' + Drupal.settings.basePath + Drupal.settings.islandora.print_img + '"></img>'); |
|
|
|
|
$('#print_btn').css("cursor","pointer"); |
|
|
|
|
$('#print_btn').click(function() { |
|
|
|
|
window.location=Drupal.settings.islandora.print_link; |
|
|
|
|
window.location=Drupal.settings.basePath + Drupal.settings.islandora.print_link; |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
})(jQuery);
|
|
|
|
|
|
|
|
|
|
})(jQuery); |
|
|
|
|
|
|
|
|
|