|
|
@ -8,10 +8,10 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
(function ($) { |
|
|
|
(function ($) { |
|
|
|
$(document).ready(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').css("cursor","pointer"); |
|
|
|
$('#print_btn').click(function() { |
|
|
|
$('#print_btn').click(function() { |
|
|
|
window.location=Drupal.settings.islandora.print_link; |
|
|
|
window.location=Drupal.settings.basePath + Drupal.settings.islandora.print_link; |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
}); |
|
|
|
})(jQuery); |
|
|
|
})(jQuery); |
|
|
|