Skip to content

Commit

Permalink
Merge pull request #6 from nhart/7.x-book-page-cmodel
Browse files Browse the repository at this point in the history
add book and page cmodel
  • Loading branch information
ruebot committed Feb 27, 2015
2 parents 6c34ba7 + e80bcb1 commit 8aecd36
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion islandora_pdfjs.module
Expand Up @@ -38,7 +38,10 @@ function islandora_pdfjs_islandora_viewer_info() {
'description' => t('Mozilla pdf.js Reader.'),
'configuration' => '',
'callback' => 'islandora_pdfjs_viewer_callback',
'model' => array('islandora:sp_pdf'),
'model' => array(
'islandora:sp_pdf',
'islandora:bookCModel',
'islandora:pageCModel'),
'mimetype' => array('application/pdf'),
),
);
Expand Down

0 comments on commit 8aecd36

Please sign in to comment.