|
|
|
@ -22,6 +22,7 @@
|
|
|
|
|
* You should have received a copy of the GNU General Public License |
|
|
|
|
* along with the program. If not, see <http ://www.gnu.org/licenses/>. |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
// Common datastreams. |
|
|
|
|
define('ISLANDORA_DS_COMP_STREAM', 'DS-COMPOSITE-MODEL'); |
|
|
|
|
|
|
|
|
@ -875,7 +876,7 @@ function islandora_view_object(AbstractObject $object) {
|
|
|
|
|
'islandora' => array( |
|
|
|
|
'print_img' => $path . '/images/print-icon.png'), |
|
|
|
|
), array( |
|
|
|
|
'type' => 'setting')); |
|
|
|
|
'type' => 'setting')); |
|
|
|
|
|
|
|
|
|
drupal_add_js(array('islandora' => array('print_link' => 'islandora/object/' . $object->id . '/print')), array('type' => 'setting')); |
|
|
|
|
drupal_add_js($path . '/js/add_print.js'); |
|
|
|
|