mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 19:42:38 +02:00
Update
This commit is contained in:
parent
47cd021b08
commit
218fb1fae8
3 changed files with 6 additions and 7 deletions
|
@ -6,7 +6,7 @@ $global['laodPlaylistScript'] = 1;
|
|||
?>
|
||||
<!-- <?php echo __FILE__; ?> -->
|
||||
<?php if ((empty($_POST['disableAddTo'])) && (( ($advancedCustom != false) && ($advancedCustom->disableShareAndPlaylist == false)) || ($advancedCustom == false))) { ?>
|
||||
<a href="#" class="<?php echo $btnClass; ?>" id="addBtn<?php echo $videos_id . $crc; ?>" onclick="actionButtonClick(this, '<?php echo $videos_id; ?>', '<?php echo $crc; ?>'); return false;" data-toggle="tooltip" title="<?php echo __("Add to"); ?>">
|
||||
<a href="#" class="<?php echo $btnClass; ?>" id="addBtn<?php echo $videos_id . $crc; ?>" onclick="actionButtonPlaylistClick(this, '<?php echo $videos_id; ?>', '<?php echo $crc; ?>'); return false;" data-toggle="tooltip" title="<?php echo __("Add to"); ?>">
|
||||
<span class="fa fa-plus"></span>
|
||||
<?php echo __("Add to"); ?>
|
||||
</a>
|
||||
|
|
|
@ -274,11 +274,6 @@ function addVideoToPlayList(videos_id, isChecked, playlists_id) {
|
|||
});
|
||||
}
|
||||
|
||||
function actionButtonClick(t, videos_id, crc){
|
||||
$(t).webuiPopover();
|
||||
callFunctionOrLoadScript('loadPlayLists', webSiteRootURL+'plugin/PlayLists/script.js', videos_id, crc);
|
||||
}
|
||||
|
||||
$(function () {
|
||||
if (empty(mediaId)) {
|
||||
reloadPlayLists();
|
||||
|
|
|
@ -4412,3 +4412,7 @@ function callFunctionOrLoadScript(funcName, jsUrl, ...args) {
|
|||
}
|
||||
}
|
||||
|
||||
function actionButtonPlaylistClick(t, videos_id, crc){
|
||||
$(t).webuiPopover();
|
||||
callFunctionOrLoadScript('loadPlayLists', webSiteRootURL+'plugin/PlayLists/script.js', videos_id, crc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue