-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.3.6 detailslist ok, booklist modals not working
- Loading branch information
1 parent
d98f9f4
commit 0772847
Showing
10 changed files
with
228 additions
and
110 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/******* | ||
* @package xbBooks | ||
* @filesource admin/views/persons/tmpl/modalbpv.php | ||
* @version 1.0.3.6 23rd January 2023 | ||
* @author Roger C-O | ||
* @copyright Copyright (c) Roger Creagh-Osborne, 2022 | ||
* @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html | ||
******/ | ||
defined( '_JEXEC' ) or die( 'Restricted access' ); | ||
?> | ||
<script> | ||
jQuery(document).ready(function(){ | ||
jQuery('#pv').attr('src',function(i, origValue){return origValue + window.pvid;}); | ||
}); | ||
jQuery('.iframe-full-height').on('load', function(){ | ||
this.style.height=this.contentDocument.body.scrollHeight+20 +'px'; | ||
}); | ||
</script> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" | ||
style="opacity:unset;line-height:unset;border:none;">×</button> | ||
<h4 class="modal-title">Preview Book</h4> | ||
</div> | ||
<div class="modal-body"> | ||
<div style="margin:0 30px;"> | ||
<iframe src="<?php echo JURI::root(); ?>/index.php?option=com_xbbooks&view=book&layout=default&tmpl=component&id=" | ||
title="Preview Book" id="pv" class="iframe-full-height"></iframe> | ||
</div> | ||
</div> | ||
|
Oops, something went wrong.